summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-08 10:43:45 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-08 10:43:45 (EDT)
commitd1aaf98b4a17cb21e7a9a1b6e18169e18d6c339c (patch)
treef1032ed5c7cef51a3bdab4c5b3f5c612b3360b95 /busybox.pkg/postinst
parentfed95f36f75bf77a336905cf52d08c5af142cd34 (diff)
Manage /usr/bin/awk with update-alternatives.
This is also provided by gawk.
Diffstat (limited to 'busybox.pkg/postinst')
-rwxr-xr-xbusybox.pkg/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index 526a66c..3c1a964 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -1,6 +1,7 @@
#!/bin/sh
if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/bin/awk awk /usr/bin/awk.busybox 10
update-alternatives --install /usr/bin/ar ar /usr/bin/ar.busybox 10
update-alternatives --install /usr/bin/strings strings \
/usr/bin/strings.busybox 10