blob: 62531a3e8ff98c11bfea587172196a0801b71ef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
set -e
NAME=scons
dpkg --listfiles $NAME |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
xargs rm -f >&2
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scons ]; then
rm -f /usr/doc/scons
fi
|