~ubuntu-core-dev/bash-completion/ubuntu.jaunty

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: James Westby
  • Date: 2009-01-07 16:27:52 UTC
  • Revision ID: jw+debian@jameswestby.net-20090107162752-a04kz6dh73koco44
ImportĀ Ubuntu'sĀ 20060301-4ubuntu3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
case "$1" in
 
6
    configure)
 
7
        # remove ucf configury
 
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
        ;;
 
15
    abort-upgrade|abort-remove|abort-deconfigure)
 
16
        ;;
 
17
    *)
 
18
        echo "postinst called with unknown argument \`$1'" >&2
 
19
        exit 1
 
20
    ;;
 
21
esac
 
22
 
 
23
#DEBHELPER#
 
24
 
 
25
exit 0