Diff of /package/debian/postinst

Last modified: 2015-05-06 11:31:02

Download viathinksoft-patched | Download 20120626-1

--- /daten/vwhois/gwhois_fork/source_20120626-1/package/debian/postinst      2012-06-26 16:15:57.000000000 +0200
+++ /daten/vwhois/gwhois_fork/source_patch/package/debian/postinst      2015-05-06 11:31:02.000000000 +0200
 -49,4 +49,9 
   ;;
 esac
 
+# http://raphaelhertzog.com/2010/10/07/the-right-way-to-remove-an-obsolete-conffile-in-a-debian-package/
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+    dpkg-maintscript-helper rm_conffile /etc/gwhois/pattern -- "$"
+fi
+
 ##DEBHELPER##