diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-17 21:37:51 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-17 21:37:51 (EDT) |
commit | e2fd2377592b6811cda1790ebd9439c71a79b81c (patch) | |
tree | b6d565be588c46d6d604e3437b4c9827ae256d77 /opkg-lede.pkg/postinst | |
parent | 2df6e68552fb2ef134b48e1486de064027d0f43c (diff) |
opkg-lede: Move conf file in postinst
Diffstat (limited to 'opkg-lede.pkg/postinst')
-rw-r--r-- | opkg-lede.pkg/postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/opkg-lede.pkg/postinst b/opkg-lede.pkg/postinst new file mode 100644 index 0000000..6e2d526 --- /dev/null +++ b/opkg-lede.pkg/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + if [ -f /etc/opkg/opkg.conf ] && ! [ -f /etc/opkg.conf ]; then + mv /etc/opkg/opkg.conf /etc/opkg.conf + fi +fi |