From 141973d67046cf3588ec95724e3d4bba0c536e46 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 02 Apr 2019 03:02:23 -0400 Subject: opkg, opkg-gpg: Link /usr/bin/opkg with u-a in postinst --- diff --git a/opkg-gpg.pkg/postinst b/opkg-gpg.pkg/postinst new file mode 100644 index 0000000..9ff62bf --- /dev/null +++ b/opkg-gpg.pkg/postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install /usr/bin/opkg opkg /usr/bin/opkg-gpg 20 +fi diff --git a/opkg.pkg/postinst b/opkg.pkg/postinst new file mode 100644 index 0000000..a5286f1 --- /dev/null +++ b/opkg.pkg/postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install /usr/bin/opkg opkg /usr/bin/opkg-cl 10 +fi -- cgit v0.9.1