~ubuntu-branches/ubuntu/trusty/bash-completion/trusty-updates

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-07-23 16:07:59 UTC
  • mfrom: (5.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120723160759-lt9vn33dl3nak9l0
Tags: 1:2.0-1ubuntu1
* debian/maintscript, debian/postinst:
  - clean etc conffiles on upgrade since completion files are in /usr
    with the new version
* Resync with Debian, remaining diff
  * debian/patches/disable-avahi-browse.diff: Disable avahi-browse since
    it scales poorly in the current form: refresh patch
  * patches/101_bash_completion.oga_ogv.patch: Increase support for other
    OGG formats including .oga, .ogx, etc. (LP: #311525)
  * patches/103_colormake.patch: Add support for colormake to the make
    completion rules. (LP: #743208)
* Dropped changes:
  * Add conffile upgrade handling for a run of conffiles that were dropped
    since lucid: lucid upgrades are only supported to precise.
* Those fixes are in the new version
  * debian/patches/apt-get-changelog.patch:
  * Drop whitelists if they fail to produce any results:
  * patches/apt-get-download.patch: Add download as an apt-get
    sub-command (LP: #720541)
  * patches/102_manpager.patch: Override MANPAGER when generating perldoc
    completions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
 
1
#!/bin/bash
2
2
 
3
3
set -e
4
4
 
5
 
for file in repomanage modules mock dcop bluez-utils; do
6
 
        dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/$file \
7
 
                1:1.3-1ubuntu6 -- "$@"
8
 
done
9
 
 
10
5
case "$1" in
11
6
    purge)
12
7
        rm -f /etc/bash_completion
 
8
        # let's remove old bash-completion conffiles
 
9
        for f in $(find /etc/bash_completion.d/ -type f -name "*.dpkg-*"); do
 
10
            dpkg-maintscript-helper rm_conffile ${f%.dpkg-*} 1:1.3-1 -- "$@"
 
11
        done
13
12
        ;;
14
13
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
15
14
        ;;