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/prerm') diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm index 9565cab..c27fe7e 100755 --- a/busybox.pkg/prerm +++ b/busybox.pkg/prerm @@ -2,8 +2,6 @@ if [ "${1}" = remove ]; then while read link name prio; do - if [ -e "${link}.busybox" ]; then - update-alternatives --remove "${name}" "${link}.busybox" - fi + update-alternatives --remove "${name}" "${link}.busybox" done