summaryrefslogtreecommitdiffstats
path: root/debian/gnome-session.postinst
diff options
context:
space:
mode:
Diffstat (limited to '')
-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#