summaryrefslogtreecommitdiffstats
path: root/busybox.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.pkg')
-rwxr-xr-xbusybox.pkg/postinst9
-rwxr-xr-xbusybox.pkg/prerm9
2 files changed, 2 insertions, 16 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index 2120eeb..a9922b6 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -6,12 +6,5 @@ if [ "x${1}" = 'xconfigure' ]; then
update-alternatives --install "${link}" "${name}" \
"${link}.busybox" "${prio}"
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
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