summaryrefslogtreecommitdiffstats
path: root/busybox.pkg
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-02 14:48:02 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-02 14:48:02 (EDT)
commitf9333acb1a71bdcaa3c4072b5d2bf6c36d9280a1 (patch)
treea605ab96f64514ae74e9d7c982a84f6e514d3133 /busybox.pkg
parentfd935fcebe18a42dad8f9e9be3a09c829a029ae1 (diff)
Manage /usr/bin/strings with update-alternatives.
Diffstat (limited to 'busybox.pkg')
-rwxr-xr-xbusybox.pkg/postinst2
-rwxr-xr-xbusybox.pkg/prerm2
2 files changed, 3 insertions, 1 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index 829a73d..c1ac929 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -2,4 +2,6 @@
if [ "x${1}" = 'xconfigure' ]; then
update-alternatives --install /usr/bin/ar ar /usr/bin/ar.busybox 10
+ update-alternatives --install /usr/bin/strings strings \
+ /usr/bin/strings.busybox 10
fi
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm
index 7f466ae..23bb465 100755
--- a/busybox.pkg/prerm
+++ b/busybox.pkg/prerm
@@ -1,5 +1,5 @@
#!/bin/sh
if [ "${1}" = remove ]; then
- update-alternatives --remove ar /usr/bin/ar.busybox
+ update-alternatives --remove strings /usr/bin/strings.busybox
fi