From a380e5b0d6127f7ffae2e364ec0c901dae1ad50f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 06 Apr 2019 18:56:00 -0400 Subject: opkg: Un-u-a executables --- 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 -- cgit v0.9.1