summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild6
-rw-r--r--opkg-lede.pkg/postinst8
2 files changed, 3 insertions, 11 deletions
diff --git a/build b/build
index c215edd..ad4af0b 100755
--- a/build
+++ b/build
@@ -25,12 +25,12 @@ build:
install: build
oh-autoinstall
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-lede
+ mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
@# From OpenWrt:
- cp ../opkg-key dest/usr/bin/opkg-key-lede
+ cp ../opkg-key dest/usr/bin/opkg-key
@# opkg-lede's CMake build system doesn't install this...
sed 's|@opkglibdir@|/var/lib|g' src/utils/update-alternatives.in \
- >dest/usr/bin/update-alternatives-lede
+ >dest/usr/bin/update-alternatives
oh-fixperms
oh-strip -k
oh-installfiles
diff --git a/opkg-lede.pkg/postinst b/opkg-lede.pkg/postinst
deleted file mode 100644
index f1ee124..0000000
--- a/opkg-lede.pkg/postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ x"${1}" = x'configure' ]; then
- for f in opkg opkg-key update-alternatives; do
- update-alternatives --install "/usr/bin/${f}" "${f}" \
- "/usr/bin/${f}-lede" 30
- done
-fi