From e56ecddd0e81ae63727ec22223856484ed7da923 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 08 Jan 2021 01:36:20 -0500 Subject: badblocks, e2fsprogs: u-a all the executables --- (limited to 'build') diff --git a/build b/build index d2e1419..786f282 100755 --- a/build +++ b/build @@ -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 -- cgit v0.9.1