summaryrefslogtreecommitdiffstats
path: root/debian/libgimp2.0-dev.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libgimp2.0-dev.preinst')
-rw-r--r--debian/libgimp2.0-dev.preinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/libgimp2.0-dev.preinst b/debian/libgimp2.0-dev.preinst
new file mode 100644
index 0000000..fc9735d
--- /dev/null
+++ b/debian/libgimp2.0-dev.preinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+ver=2.0
+prio=50
+
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
+ update-alternatives --remove gimptool /usr/bin/gimptool-2.0
+fi
+
+#DEBHELPER#