diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-23 10:23:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-23 10:23:04 +0200 |
commit | 0a9d9e0d12a6426d3de424d1835ef6287ba7f877 (patch) | |
tree | 3cc6413184fd77b22e6289976cba458b720b6466 /debian | |
parent | ed34d9c0bf5031283b1e71da96c5056439ad3e8b (diff) |
d/cil.preinst: change to dpkg-maintscript-helper
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/cil.preinst | 5 | ||||
-rw-r--r-- | debian/control | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 010fc62..29f2dec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,9 +3,10 @@ cil (0.07.00-10) unstable; urgency=medium * Move bash_completion from etc/bash_completion.d to usr/share/bash-completion/completions * New cil.preinst: - - Remove etc/bash_completion.d/cil at upgrade. + - Use dpkg-maintscript-helper to remove etc/bash_completion.d/cil + at upgrade. - -- Jörg Frings-Fürst <debian@jff-webhosting.net> Thu, 21 May 2015 21:30:24 +0200 + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 23 May 2015 09:42:08 +0200 cil (0.07.00-9) unstable; urgency=low 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 diff --git a/debian/control b/debian/control index 62163d9..7f7764e 100644 --- a/debian/control +++ b/debian/control @@ -33,6 +33,8 @@ Depends: libfile-slurp-perl, libfile-touch-perl, libgetopt-mixed-perl +Pre-Depends: + dpkg (>= 1.15.7.2) Description: command line issue tracker 'cil' allows easy command-line creation of an issue tracker. It saves each issue locally and in plain text. Commands are given such that these issues can |