File: prerm

package info (click to toggle)
radiuscontext 1.76-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 176 kB
  • ctags: 135
  • sloc: python: 1,120; perl: 57; sh: 50; makefile: 40
file content (13 lines) | stat: -rw-r--r-- 169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /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