diff options
author | Patrick 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) |
commit | a380e5b0d6127f7ffae2e364ec0c901dae1ad50f (patch) | |
tree | 6b7a297cc773641b7c9606d3254401db7cb9b7b6 | |
parent | 1848c3cf2ee88a324ca83c7505ec3219eb95e4c5 (diff) |
opkg: Un-u-a executables
-rwxr-xr-x | build | 6 | ||||
-rw-r--r-- | opkg-lede.pkg/postinst | 8 |
2 files changed, 3 insertions, 11 deletions
@@ -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 |