summaryrefslogtreecommitdiffstats
path: root/opkg-gpg.pkg/postinst
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 03:02:23 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 03:02:23 (EDT)
commit141973d67046cf3588ec95724e3d4bba0c536e46 (patch)
tree4d322110fc356559df850c247a5d6ea16a64c026 /opkg-gpg.pkg/postinst
parent7d4d92f5c1d982fd021e7b8424a526ec3fe712cb (diff)
opkg, opkg-gpg: Link /usr/bin/opkg with u-a in postinst
Diffstat (limited to 'opkg-gpg.pkg/postinst')
-rw-r--r--opkg-gpg.pkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/opkg-gpg.pkg/postinst b/opkg-gpg.pkg/postinst
new file mode 100644
index 0000000..9ff62bf
--- /dev/null
+++ b/opkg-gpg.pkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install /usr/bin/opkg opkg /usr/bin/opkg-gpg 20
+fi