File: prerm

package info (click to toggle)
python-numeric 1.1-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,508 kB
  • ctags: 2,303
  • sloc: ansic: 39,784; python: 1,884; makefile: 66; sh: 24
file content (15 lines) | stat: -rw-r--r-- 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e
#
# Debian prerm script for Python 1.5 hierarchical modules
# Written by Gregor Hoffleit <flight@debian.org>
#

NAME=python-numeric

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

if command -v install-docs >/dev/null 2>&1; then
    install-docs -r $NAME
fi