~ubuntu-branches/ubuntu/trusty/pylint/trusty

« back to all changes in this revision

Viewing changes to debian/python2.2-pylint.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Thénault
  • Date: 2006-09-25 16:46:40 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20060925164640-obkb6g34gqtyk20n
new uptream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
#
3
 
# sample prerm script for Debian python packages.
4
 
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
5
 
#
6
 
 
7
 
dpkg --listfiles python2.2-pylint |
8
 
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
9
 
        xargs rm -f >&2
10
 
 
11
 
 
12
 
## Alternatives
13
 
 
14
 
if [ $1 != "upgrade" ]; then
15
 
    # Remove alternatives
16
 
    for i in pylint pylint-gui symilar ; do
17
 
        update-alternatives --remove $i /usr/bin/$i.python2.2
18
 
    done
19
 
fi
20
 
 
21
 
 
22
 
#DEBHELPER#
23