aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)