~ubuntu-branches/ubuntu/karmic/bash-completion/karmic

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-04-15 01:21:38 UTC
  • Revision ID: james.westby@ubuntu.com-20080415012138-pker4fsl17s92uty
Tags: 20060301-3ubuntu3
Don't use ucf for handling the bash_completion config file. Avoids
prompting the user for a changed config file, if the config file is
unchanged (and only moved to the bash-completion package). LP: #210013.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
case "$1" in
6
6
    purge)
7
7
        rm -f /etc/bash_completion
8
 
        if which ucf >/dev/null; then
9
 
            ucf --purge /etc/bash_completion
10
 
        fi
11
 
        if which ucfr >/dev/null; then
12
 
            ucfr --purge bash-completion /etc/bash_completion
13
 
        fi
14
8
        ;;
15
9
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
16
10
        ;;