aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHIGUCHI Daisuke (VDR dai) <dai@debian.org>2018-03-19 05:21:44 +0000
committerHIGUCHI Daisuke (VDR dai) <dai@debian.org>2018-03-19 05:21:44 +0000
commit0c67e80340a2e7d008fa246ff506015b033fabb6 (patch)
tree3e483793bd78bb3123e5590d30aefe8922fab091 /debian
parentDebian release 0.5.3-36 (diff)
downloadw3m-0c67e80340a2e7d008fa246ff506015b033fabb6.tar.gz
w3m-0c67e80340a2e7d008fa246ff506015b033fabb6.zip
eliminate lintian warning: maintainer-script-without-set-e
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst4
-rw-r--r--debian/postrm4
-rw-r--r--debian/preinst4
-rw-r--r--debian/prerm5
4 files changed, 12 insertions, 5 deletions
diff --git a/debian/postinst b/debian/postinst
index da7da35..7a4a174 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
dpkg-maintscript-helper rm_conffile \
/etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
diff --git a/debian/postrm b/debian/postrm
index 27f0220..2a99079 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
dpkg-maintscript-helper rm_conffile \
/etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
diff --git a/debian/preinst b/debian/preinst
index 27f0220..2a99079 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
dpkg-maintscript-helper rm_conffile \
/etc/w3m/w3mconfig 0.4.2-2~ -- "$@"
diff --git a/debian/prerm b/debian/prerm
index 818370a..3d9ad18 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,5 +1,6 @@
-#!/bin/sh -e
-#
+#!/bin/sh
+
+set -e
case "$1" in
remove|deconfigure)