summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-06 18:56:00 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-06 18:56:00 (EDT)
commita380e5b0d6127f7ffae2e364ec0c901dae1ad50f (patch)
tree6b7a297cc773641b7c9606d3254401db7cb9b7b6
parent1848c3cf2ee88a324ca83c7505ec3219eb95e4c5 (diff)
opkg: Un-u-a executables
-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