summaryrefslogtreecommitdiff
path: root/debian/preinst
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 19:56:07 +0200
committerLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 19:56:07 +0200
commit5e6f4b1d3f01aa95b4faee6b021600b4f72f5d81 (patch)
tree612b7f7bc3e27b5847e976ce0ffa880693016ac1 /debian/preinst
parent215ccb195bbe23ac6982ac940a3ded076e8c9138 (diff)
Switch to python-support
Diffstat (limited to 'debian/preinst')
-rwxr-xr-xdebian/preinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst
new file mode 100755
index 0000000..0d25d60
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2.0-3; then
+ pycentral pkgremove scons
+fi
+
+#DEBHELPER#
+
+exit 0