Annotated CHANGES/RELEASE with issue these changes fix
[scons.git] / packaging / debian / prerm
blob62531a3e8ff98c11bfea587172196a0801b71ef5
1 #!/bin/sh
2 set -e
4 NAME=scons
6 dpkg --listfiles $NAME |
7 awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
8 xargs rm -f >&2
10 if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scons ]; then
11 rm -f /usr/doc/scons