~certify-web-dev/twisted/certify-trunk

« back to all changes in this revision

Viewing changes to debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Moshe Zadka
  • Date: 2002-03-08 07:14:16 UTC
  • Revision ID: james.westby@ubuntu.com-20020308071416-oxvuw76tpcpi5v1q
Tags: upstream-0.15.5
ImportĀ upstreamĀ versionĀ 0.15.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/twisted ]; then
 
3
        rm -f /usr/doc/twisted
 
4
fi
 
5
 
 
6
NAME=twisted
 
7
 
 
8
dpkg --listfiles $NAME |
 
9
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
 
10
        xargs rm -f >&2