summaryrefslogtreecommitdiffstats
path: root/debian/gnome-terminal.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gnome-terminal.postinst')
-rw-r--r--debian/gnome-terminal.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/gnome-terminal.postinst b/debian/gnome-terminal.postinst
new file mode 100644
index 0000000..fdd3382
--- /dev/null
+++ b/debian/gnome-terminal.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ]; then
+ update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/bin/gnome-terminal.wrapper 40 \
+ --slave /usr/share/man/man1/x-terminal-emulator.1.gz \
+ x-terminal-emulator.1.gz /usr/share/man/man1/gnome-terminal.1.gz
+fi
+