diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-08 01:36:20 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-01-08 19:18:07 (EST) |
commit | e56ecddd0e81ae63727ec22223856484ed7da923 (patch) | |
tree | 3817ef9827e5a43951bab0fdd4e515b9ab078e6d /build | |
parent | 9ed4a97267bddd5f3e92fbb0dba4e4fd8b1c0060 (diff) |
badblocks, e2fsprogs: u-a all the executables
Diffstat (limited to 'build')
-rwxr-xr-x | build | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -39,4 +39,14 @@ install: build oh-fixperms oh-strip oh-installfiles + # update-alternatives all the executables: + for d in badblocks.data e2fsprogs.data; do \ + mkdir -p "$${d}/usr/share/$${d%.data}/"; \ + exec 3>"$${d}/usr/share/$${d%.data}/alternatives"; \ + for f in $${d}/*bin/*; do \ + mv "$${f}" "$${f}.e2p"; \ + printf '%s\n' "$${f#*/}" 1>&3; \ + done; \ + exec 3>&-; \ + done oh-shlibdeps |