Allow ipkg to handle conffiles if present (#3466)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11242 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2008-05-22 20:26:49 +00:00
parent b44f6c1cd3
commit 25203b6f2a
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ipkg-utils-1.7-old/ipkg-buildpackage 2008-05-21 07:18:21.000000000 +0200
+++ ipkg-utils-1.7-new/ipkg-buildpackage 2008-05-21 03:22:19.000000000 +0200
@@ -190,7 +190,7 @@
mkdir /tmp/${pkg}/CONTROL
files_required="control"
-files_optional="preinst postinst prerm postrm"
+files_optional="preinst postinst prerm postrm conffiles"
for i in ${files_required} ; do
file=${CONTROL}/$i