File: python2.2-unit.prerm

package info (click to toggle)
python-unit 1.4.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 300 kB
  • ctags: 368
  • sloc: python: 844; makefile: 75; sh: 42
file content (15 lines) | stat: -rw-r--r-- 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e
#
# sample prerm script for Debian python packages.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
#

VERSION=2.2
PACKAGE=python$VERSION-unit

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

#DEBHELPER#