File: prerm

package info (click to toggle)
python-bobopos 2.1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 236 kB
  • ctags: 220
  • sloc: python: 1,774; makefile: 38; sh: 24
file content (15 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash -e
#
# Debian prerm script for Python 1.5 hierarchical modules
# Written by Gregor Hoffleit <flight@debian.org>
#

NAME=python-bobopos

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