From e2fd2377592b6811cda1790ebd9439c71a79b81c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 17 Apr 2019 21:37:51 -0400 Subject: opkg-lede: Move conf file in postinst --- (limited to 'opkg-lede.pkg/postinst') 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 -- cgit v0.9.1