summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-19 20:02:00 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-19 20:02:00 (EST)
commit8bb6431fe1740f5f7fffaa8214a9b4e930754432 (patch)
tree7ea5f348907a8e748df6f72ac6270d9a741eaf87 /busybox.pkg/prerm
parentceef092839b88b388a77190ba3bd0a331e5ff9e7 (diff)
Unify alternatives lists into one file.
This file is used at build time and install/remove time.
Diffstat (limited to 'busybox.pkg/prerm')
-rwxr-xr-xbusybox.pkg/prerm9
1 files changed, 1 insertions, 8 deletions
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm
index 5e7cf79..9565cab 100755
--- a/busybox.pkg/prerm
+++ b/busybox.pkg/prerm
@@ -5,12 +5,5 @@ if [ "${1}" = remove ]; then
if [ -e "${link}.busybox" ]; then
update-alternatives --remove "${name}" "${link}.busybox"
fi
- done <<-EOF
- /usr/bin/awk awk 10
- /usr/bin/ar ar 10
- /usr/bin/strings strings 10
- /usr/bin/clear clear 10
- /usr/bin/reset reset 10
- /usr/bin/mkpasswd mkpasswd 10
- EOF
+ done </usr/share/busybox/alternatives
fi