summaryrefslogtreecommitdiffstats
path: root/debian/libgimp2.0-dev.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:13:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:13:23 +0000
commitbfaf3198ed78f910587c6196fa65016025c1a20f (patch)
treea0fd8873d5816a43cb67b2d68656ac0ac3bcc59a /debian/libgimp2.0-dev.preinst
parentAdding upstream version 2.10.36. (diff)
downloadgimp-bfaf3198ed78f910587c6196fa65016025c1a20f.tar.xz
gimp-bfaf3198ed78f910587c6196fa65016025c1a20f.zip
Adding debian version 2.10.36-2.debian/2.10.36-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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#