diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-24 12:51:00 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-24 12:51:00 (GMT) |
commit | 7eddfeb87f28c4cf8ba6839efdad8b366214ec01 (patch) | |
tree | 5687008a55ac5282705d8800a9f955c8bc3cafa1 /debian/prerm | |
parent | 35f863c494e66e1524789ac329a6e9aff5f46189 (diff) | |
download | SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.zip SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.tar.gz SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.tar.bz2 |
Rework Debian packaging ito incorporate changes from Moshe Zadka, official Debian SCons package maintainer.
Diffstat (limited to 'debian/prerm')
-rw-r--r-- | debian/prerm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..62531a3 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,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 |