aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-05-02 03:44:21 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-05-02 03:44:21 +0000
commitd64486b69d93cd45049f49e7326e087251e59fa0 (patch)
tree616989b2d2fd2c8aa5064eca7449f214bfea52ee /debian
parentReplace tab with spaces in debian/copyright (diff)
downloadw3m-d64486b69d93cd45049f49e7326e087251e59fa0.tar.gz
w3m-d64486b69d93cd45049f49e7326e087251e59fa0.zip
Use maintscript file instead of manual calls to dpkg-maintscript-helper
Diffstat (limited to '')
-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#