summaryrefslogtreecommitdiffstats
path: root/busybox.pkg
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-10 06:32:28 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-10 06:32:28 (EST)
commit10ca6a375343b3f61c4ecc0a48372c15964d7d0a (patch)
tree13a6d412abea386e78edca8ba90d30f835dc4719 /busybox.pkg
parenta12da383a6f4a4c129b624111bf693422f00d1ef (diff)
Remove *.busybox links
Diffstat (limited to 'busybox.pkg')
-rwxr-xr-xbusybox.pkg/postinst2
-rwxr-xr-xbusybox.pkg/prerm2
2 files changed, 2 insertions, 2 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index ae66306..1a5d744 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -7,7 +7,7 @@ if [ "x${1}" = 'xconfigure' ]; then
# increased to 30), and expect-doc provides a /usr/bin/mkpasswd
# alternative with priority 10.
update-alternatives --install "${link}" "${link##*/}" \
- "${link}.busybox" 15
+ /bin/busybox 15
done </usr/share/busybox/alternatives
if ! [ -f /etc/rc.policy ]; then
if [ "x$(cat /etc/proteanos_plat)" = 'xdev' ]; then
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm
index 39f963d..25e55f6 100755
--- a/busybox.pkg/prerm
+++ b/busybox.pkg/prerm
@@ -7,7 +7,7 @@ if [ "x${1}" = 'xupgrade' ]; then
done </usr/share/busybox/init-scripts
fi
while read link; do
- update-alternatives --remove "${link##*/}" "${link}.busybox"
+ update-alternatives --remove "${link##*/}" /bin/busybox
done </usr/share/busybox/alternatives
if [ -f /usr/share/busybox/www/SHA256SUMS ]; then
if [ -f /var/www/index.html ] && \