aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2015-06-22 10:46:35 +0200
committerAndreas Henriksson <andreas@fatal.se>2015-06-22 11:08:30 +0200
commit5a178151859dbcb2dd01b5e5b8dbb4e6a0b28df1 (patch)
tree45fd8cff046e334abefd1f66f72779ca8338cdda /debian
parent7caa56747337b96617cb59757ef96e4dc7e36571 (diff)
downloadpbuilder-5a178151859dbcb2dd01b5e5b8dbb4e6a0b28df1.tar
pbuilder-5a178151859dbcb2dd01b5e5b8dbb4e6a0b28df1.tar.gz
Use dpkg-maintscript-helper rm_conffile to clean up old /etc/bash_completion.d/pbuilder
Diffstat (limited to 'debian')
-rw-r--r--debian/pbuilder.postinst4
-rw-r--r--debian/pbuilder.postrm3
-rw-r--r--debian/pbuilder.preinst7
3 files changed, 14 insertions, 0 deletions
diff --git a/debian/pbuilder.postinst b/debian/pbuilder.postinst
index 00bf681..f42d99b 100644
--- a/debian/pbuilder.postinst
+++ b/debian/pbuilder.postinst
@@ -1,5 +1,9 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
+
+dpkg-maintscript-helper rm_conffile \
+ /etc/bash_completion.d/pbuilder 0.215+nmu4~ pbuilder -- "$@"
+
#DEBHELPER#
exit 0
diff --git a/debian/pbuilder.postrm b/debian/pbuilder.postrm
index fca2ba1..a0496cf 100644
--- a/debian/pbuilder.postrm
+++ b/debian/pbuilder.postrm
@@ -9,5 +9,8 @@ if [ "$1" = purge ]; then
fi
fi
+dpkg-maintscript-helper rm_conffile \
+ /etc/bash_completion.d/pbuilder 0.215+nmu4~ pbuilder -- "$@"
+
#DEBHELPER#
exit 0
diff --git a/debian/pbuilder.preinst b/debian/pbuilder.preinst
new file mode 100644
index 0000000..ba191a4
--- /dev/null
+++ b/debian/pbuilder.preinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+ /etc/bash_completion.d/pbuilder 0.215+nmu4~ pbuilder -- "$@"
+
+#DEBHELPER#