File: prerm

package info (click to toggle)
serpento 0.4.1-0.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 360 kB
  • ctags: 391
  • sloc: python: 1,762; ansic: 669; perl: 157; sh: 127; makefile: 73
file content (12 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh -e


PACKAGE=`basename $0 .prerm`

dpkg --listfiles $PACKAGE |
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
        xargs rm -f >&2

#DEBHELPER#

exit 0