From 9bcff3ce43a48466a5ea3266b63f802882ee9b1b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 19 Feb 2014 20:22:46 -0500 Subject: Simplify maintainer scripts. Populate /usr/share/busybox/alternatives at build time with only the files actually installed. --- (limited to 'busybox.pkg') diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index a9922b6..d0a2cc3 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -2,9 +2,7 @@ if [ "x${1}" = 'xconfigure' ]; then while read link name prio; do - if [ -e "${link}.busybox" ]; then - update-alternatives --install "${link}" "${name}" \ - "${link}.busybox" "${prio}" - fi + update-alternatives --install "${link}" "${name}" \ + "${link}.busybox" "${prio}" done