File: python-gnuradio.prerm

package info (click to toggle)
gnuradio-core 2.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,184 kB
  • ctags: 2,936
  • sloc: cpp: 14,603; sh: 8,387; ansic: 3,760; python: 2,864; fortran: 927; makefile: 829; asm: 784
file content (14 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash -e
#
# Debian prerm script for Python x.y hierarchical modules
# Written by Gregor Hoffleit <flight@debian.org>
# Extended by Matthias Klose <doko@debian.org>
#

PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`

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

#DEBHELPER#