summaryrefslogtreecommitdiff
path: root/debian/preinst
diff options
context:
space:
mode:
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