summaryrefslogtreecommitdiff
path: root/debian/preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/preinst')
-rw-r--r--debian/preinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 00000000..a9f4654d
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+set -e
+
+if [ "install" = "$1" ] || [ "upgrade" = "$1" ]; then
+ dpkg-divert --package zenity --add --rename \
+ --divert /usr/bin/gdialog.real /usr/bin/gdialog
+fi
+
+#DEBHELPER#
bgstack15