More warining fixes: char -> const char
[obnox/wireshark/wip.git] / debian / ethereal-dev.prerm
1 #! /bin/bash -e
2 #
3 # Debian prerm script for Python x.y hierarchical modules
4 # Written by Gregor Hoffleit <flight@debian.org>
5 # Extended by Matthias Klose <doko@debian.org>
6 #
7
8 PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
9
10 dpkg --listfiles $PACKAGE |
11         awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
12         xargs rm -f >&2
13
14 #DEBHELPER#
15
16 #! /bin/bash -e
17 #
18 # Debian prerm script for Python x.y hierarchical modules
19 # Written by Gregor Hoffleit <flight@debian.org>
20 # Extended by Matthias Klose <doko@debian.org>
21 #
22
23 PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
24
25 dpkg --listfiles $PACKAGE |
26         awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
27         xargs rm -f >&2
28
29 #DEBHELPER#
30