summaryrefslogtreecommitdiffstats
path: root/debian/gnome-session.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:41:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:41:01 +0000
commit1a2738532d1c95e1d48701628cd81ca96c267761 (patch)
treea67781318e259d176e6d6d056501bc6a372a8453 /debian/gnome-session.postinst
parentAdding upstream version 3.38.0. (diff)
downloadgnome-session-1a2738532d1c95e1d48701628cd81ca96c267761.tar.xz
gnome-session-1a2738532d1c95e1d48701628cd81ca96c267761.zip
Adding debian version 3.38.0-4.debian/3.38.0-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/gnome-session.postinst')
-rw-r--r--debian/gnome-session.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/gnome-session.postinst b/debian/gnome-session.postinst
new file mode 100644
index 0000000..adc2d6d
--- /dev/null
+++ b/debian/gnome-session.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = configure ]; then
+ update-alternatives --install /usr/bin/x-session-manager \
+ x-session-manager /usr/bin/gnome-session 50 \
+ --slave /usr/share/man/man1/x-session-manager.1.gz \
+ x-session-manager.1.gz /usr/share/man/man1/gnome-session.1.gz
+fi
+
+#DEBHELPER#