aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2015-07-22 14:33:16 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-07-22 19:53:14 +0000
commit7b9fb382211d23c087c9f7dd7fe295a46ab3fc3f (patch)
tree4e0b90ae0dcb68c81c6138f512c39a75bdefb61f /debian
parent0482aa91ae30bdb67dfa4a916383c9eae1c4891a (diff)
downloadpbuilder-7b9fb382211d23c087c9f7dd7fe295a46ab3fc3f.tar
pbuilder-7b9fb382211d23c087c9f7dd7fe295a46ab3fc3f.tar.gz
use pbuilder.maintscript for /etc/bash_completion.d/pbuilder removal
Diffstat (limited to 'debian')
-rw-r--r--debian/pbuilder.maintscript1
-rw-r--r--debian/pbuilder.postinst3
-rw-r--r--debian/pbuilder.postrm3
-rw-r--r--debian/pbuilder.preinst7
4 files changed, 1 insertions, 13 deletions
diff --git a/debian/pbuilder.maintscript b/debian/pbuilder.maintscript
new file mode 100644
index 0000000..afb71fb
--- /dev/null
+++ b/debian/pbuilder.maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/bash_completion.d/pbuilder 0.215+nmu4~
diff --git a/debian/pbuilder.postinst b/debian/pbuilder.postinst
index f42d99b..4af446d 100644
--- a/debian/pbuilder.postinst
+++ b/debian/pbuilder.postinst
@@ -2,8 +2,5 @@
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 a0496cf..fca2ba1 100644
--- a/debian/pbuilder.postrm
+++ b/debian/pbuilder.postrm
@@ -9,8 +9,5 @@ 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
deleted file mode 100644
index ba191a4..0000000
--- a/debian/pbuilder.preinst
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -e
-
-dpkg-maintscript-helper rm_conffile \
- /etc/bash_completion.d/pbuilder 0.215+nmu4~ pbuilder -- "$@"
-
-#DEBHELPER#