summaryrefslogtreecommitdiffstats
path: root/debian/gnome-terminal.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:21:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:21:33 +0000
commitc5086c67a3e6c18e539f1d4dd6f1da187c080fe9 (patch)
tree83fb83803b72b57475128d52de600b886235d6c1 /debian/gnome-terminal.postinst
parentAdding upstream version 3.38.3. (diff)
downloadgnome-terminal-debian.tar.xz
gnome-terminal-debian.zip
Adding debian version 3.38.3-1.debian/3.38.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
+