diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 17:50:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 17:50:07 (EDT) |
commit | e08b239f3d46501546e2f68fcdaf199890dc665c (patch) | |
tree | 58ec1fafd2cabed1e5d50643b948cbb28d8ff4ba /opkg-common.pkg/postinst | |
parent | e3cfa8bfcfdbca6b6efae1be1832a020df712b86 (diff) |
opkg-common: Manage opkg-key and u-a with u-a
So meta.
Diffstat (limited to 'opkg-common.pkg/postinst')
-rw-r--r-- | opkg-common.pkg/postinst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opkg-common.pkg/postinst b/opkg-common.pkg/postinst new file mode 100644 index 0000000..5f90662 --- /dev/null +++ b/opkg-common.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + for f in opkg-key update-alternatives; do + update-alternatives --install "/usr/bin/${f}" "${f}" \ + "/usr/bin/${f}-orig" 20 + done +fi |