aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/maintscript1
-rw-r--r--debian/postinst3
-rw-r--r--debian/postrm5
-rw-r--r--debian/preinst5
4 files changed, 1 insertions, 13 deletions
diff --git a/debian/maintscript b/debian/maintscript
new file mode 100644
index 0000000..963c40f
--- /dev/null
+++ b/debian/maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/w3m/w3mconfig 0.4.2-2~ w3m
diff --git a/debian/postinst b/debian/postinst
index 7a4a174..8c56088 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,9 +2,6 @@
set -e
-dpkg-maintscript-helper rm_conffile \
- /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
-
case "$1" in
configure)
update-alternatives --quiet --install /usr/bin/pager pager \
diff --git a/debian/postrm b/debian/postrm
index 2a99079..ec73b41 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,8 +1,3 @@
#!/bin/sh
-
set -e
-
-dpkg-maintscript-helper rm_conffile \
- /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
-
#DEBHELPER#
diff --git a/debian/preinst b/debian/preinst
index 2a99079..ec73b41 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -1,8 +1,3 @@
#!/bin/sh
-
set -e
-
-dpkg-maintscript-helper rm_conffile \
- /etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
-
#DEBHELPER#