summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild1
-rwxr-xr-xbusybox.pkg/postinst2
-rwxr-xr-xbusybox.pkg/prerm2
-rw-r--r--changelog1
4 files changed, 5 insertions, 1 deletions
diff --git a/build b/build
index a6f858d..4a3fae5 100755
--- a/build
+++ b/build
@@ -14,4 +14,5 @@ install:
oh-strip
chmod u+s dest/bin/busybox
mv dest/usr/bin/ar dest/usr/bin/ar.busybox
+ mv dest/usr/bin/strings dest/usr/bin/strings.busybox
oh-installfiles
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
diff --git a/changelog b/changelog
index 7beefb1..b699a77 100644
--- a/changelog
+++ b/changelog
@@ -6,6 +6,7 @@ busybox (1.21.0-1) trunk
* Add "source" target to download and verify source.
* Cherry pick patch to install man applet in /usr/bin, not /sbin.
* Manage /usr/bin/ar with update-alternatives.
+ * Manage /usr/bin/strings with update-alternatives.
* Add self to maintainers.
-- "P. J. McDermott" <pjm@nac.net> Mon, 27 May 2013 06:22:21 -0400