File: prerm

package info (click to toggle)
xtalk 1.3-10
  • links: PTS
  • area: main
  • in suites: woody
  • size: 112 kB
  • ctags: 139
  • sloc: python: 759; makefile: 54; sh: 22
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