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 --- diff --git a/badblocks.pkg/postinst b/badblocks.pkg/postinst new file mode 100644 index 0000000..7565d24 --- /dev/null +++ b/badblocks.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + while read link; do + update-alternatives --install "${link}" "${link##*/}" \ + "${link}.e2p" 30 + done "$${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 diff --git a/e2fsprogs.pkg/postinst b/e2fsprogs.pkg/postinst new file mode 100644 index 0000000..85752c7 --- /dev/null +++ b/e2fsprogs.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + while read link; do + update-alternatives --install "${link}" "${link##*/}" \ + "${link}.e2p" 30 + done