~ubuntu-branches/ubuntu/feisty/python-gnuplot/feisty

« back to all changes in this revision

Viewing changes to debian/prerm.old

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-10-29 02:45:58 UTC
  • mfrom: (2.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20061029024558-l8cl3gdh0002ych1
Tags: 1.7-7
Fix unhandled exception (Michael Schieschke). Closes: #353642.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash -e
 
2
#
 
3
# Debian prerm script for Python x.y hierarchical modules
 
4
# Written by Gregor Hoffleit <flight@debian.org>
 
5
# Extended by Matthias Klose <doko@debian.org>
 
6
#
 
7
 
 
8
PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
 
9
 
 
10
dpkg --listfiles $PACKAGE |
 
11
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
 
12
        xargs rm -f >&2
 
13
 
 
14
#DEBHELPER#