summaryrefslogtreecommitdiffstats
path: root/busybox.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-27 07:20:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-27 07:22:12 (EDT)
commitfd935fcebe18a42dad8f9e9be3a09c829a029ae1 (patch)
tree8ffc93fc59d7fefc561eac4c5c008bfafe19ac20 /busybox.pkg/postinst
parent11218e9a094cc4768ae777430acf916f6b0a85ef (diff)
Manage /usr/bin/ar with update-alternatives.
Diffstat (limited to 'busybox.pkg/postinst')
-rwxr-xr-xbusybox.pkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
new file mode 100755
index 0000000..829a73d
--- /dev/null
+++ b/busybox.pkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/bin/ar ar /usr/bin/ar.busybox 10
+fi