Allow ipkg to handle conffiles if present (#3466)
[openwrt/staging/florian.git] / tools / ipkg-utils / patches / 111-buildpackage_conffiles.patch
diff --git a/tools/ipkg-utils/patches/111-buildpackage_conffiles.patch b/tools/ipkg-utils/patches/111-buildpackage_conffiles.patch
new file mode 100644 (file)
index 0000000..ac1b0c0
--- /dev/null
@@ -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