File: dpkg-python.prerm

package info (click to toggle)
dpkg-scriptlib 0.1-2hamm1
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 188 kB
  • ctags: 230
  • sloc: python: 1,685; perl: 534; makefile: 41; sh: 18
file content (11 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh -e
#
# Debian prerm script for Python 1.5 hierarchical modules
# Written by Gregor Hoffleit <flight@debian.org>
#

NAME=dpkg-python

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