summaryrefslogtreecommitdiff
path: root/debian/cil.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-23 10:23:04 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-23 10:23:04 +0200
commit0a9d9e0d12a6426d3de424d1835ef6287ba7f877 (patch)
tree3cc6413184fd77b22e6289976cba458b720b6466 /debian/cil.preinst
parented34d9c0bf5031283b1e71da96c5056439ad3e8b (diff)
d/cil.preinst: change to dpkg-maintscript-helper
Diffstat (limited to 'debian/cil.preinst')
-rw-r--r--debian/cil.preinst5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/cil.preinst b/debian/cil.preinst
index 10a7444..14b531d 100644
--- a/debian/cil.preinst
+++ b/debian/cil.preinst
@@ -17,9 +17,8 @@ set -e
case "$1" in
upgrade)
# new 0.07.0-10
- if [ -e /etc/bash_completion.d/cil ]; then
- rm -f /etc/bash_completion.d/cil
- fi
+ # needs Pre-Depends: dpkg (>= 1.15.7.2)
+ dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/cil 0.07.0-10 -- "$@"
;;
*)
echo "preinst called with unknown argument \`$1'" >&2