aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-11-07 15:47:56 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-11-07 15:47:56 +0000
commit7787344392eaeedc900dd81622037e6e24b6792c (patch)
tree07f24cf705d7a6548cf4f502952bed41b75efdcc /debian
parentNew patch 260_openssl.patch from openSUSE for OpenSSL issues (diff)
downloadw3m-7787344392eaeedc900dd81622037e6e24b6792c.tar.gz
w3m-7787344392eaeedc900dd81622037e6e24b6792c.zip
Use dpkg-maintscript-helper to remove obsolete conffile
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst4
-rw-r--r--debian/postrm6
-rw-r--r--debian/preinst6
3 files changed, 15 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 4268351..da7da35 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,7 @@
#!/bin/sh -e
-#
+
+dpkg-maintscript-helper rm_conffile \
+ /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
case "$1" in
configure)
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..27f0220
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+dpkg-maintscript-helper rm_conffile \
+ /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
+
+#DEBHELPER#
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 0000000..27f0220
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+dpkg-maintscript-helper rm_conffile \
+ /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
+
+#DEBHELPER#