summaryrefslogtreecommitdiffstats
path: root/opkg-lede.pkg/postinst
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:22:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:22:46 (EDT)
commit8d3d7d3942fd7621a378c613a3a7b255571fa3a7 (patch)
treee2cc10a434254b10d1cfeee1904bc87e8dd6482d /opkg-lede.pkg/postinst
Initial commit
Diffstat (limited to 'opkg-lede.pkg/postinst')
-rw-r--r--opkg-lede.pkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/opkg-lede.pkg/postinst b/opkg-lede.pkg/postinst
new file mode 100644
index 0000000..187a8cc
--- /dev/null
+++ b/opkg-lede.pkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install /usr/bin/opkg opkg /usr/bin/opkg-lede 30
+fi