summaryrefslogtreecommitdiffstats
path: root/opkg-lede.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'opkg-lede.pkg')
-rw-r--r--opkg-lede.pkg/files1
-rw-r--r--opkg-lede.pkg/postinst7
2 files changed, 8 insertions, 0 deletions
diff --git a/opkg-lede.pkg/files b/opkg-lede.pkg/files
index 7030e26..55e6832 100644
--- a/opkg-lede.pkg/files
+++ b/opkg-lede.pkg/files
@@ -1,4 +1,5 @@
/usr/bin/opkg
/usr/bin/opkg-cert
+/usr/bin/opkg-cl
/usr/bin/update-alternatives
/usr/sbin/opkg-key
diff --git a/opkg-lede.pkg/postinst b/opkg-lede.pkg/postinst
new file mode 100644
index 0000000..6e2d526
--- /dev/null
+++ b/opkg-lede.pkg/postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ if [ -f /etc/opkg/opkg.conf ] && ! [ -f /etc/opkg.conf ]; then
+ mv /etc/opkg/opkg.conf /etc/opkg.conf
+ fi
+fi