[Pkg-xfce-commits] r2092 - desktop/trunk/xfce4-session/debian

corsac at alioth.debian.org corsac at alioth.debian.org
Tue May 20 06:18:14 UTC 2008


Author: corsac
Date: 2008-05-20 06:18:13 +0000 (Tue, 20 May 2008)
New Revision: 2092

Added:
   desktop/trunk/xfce4-session/debian/postinst
   desktop/trunk/xfce4-session/debian/prerm
Modified:
   desktop/trunk/xfce4-session/debian/changelog
Log:
debian/{postinst,prerm}: have them back, they manage the x-session-manager
alternative.                                                closes: #481933

Modified: desktop/trunk/xfce4-session/debian/changelog
===================================================================
--- desktop/trunk/xfce4-session/debian/changelog	2008-05-19 21:05:08 UTC (rev 2091)
+++ desktop/trunk/xfce4-session/debian/changelog	2008-05-20 06:18:13 UTC (rev 2092)
@@ -1,3 +1,10 @@
+xfce4-session (4.4.2-6) UNRELEASED; urgency=low
+
+  * debian/{postinst,prerm}: have them back, they manage the x-session-manager
+    alternative.                                                closes: #481933
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Tue, 20 May 2008 08:17:15 +0200
+
 xfce4-session (4.4.2-5) unstable; urgency=low
 
   * switch to triggers:

Copied: desktop/trunk/xfce4-session/debian/postinst (from rev 2048, desktop/trunk/xfce4-session/debian/postinst)
===================================================================
--- desktop/trunk/xfce4-session/debian/postinst	                        (rev 0)
+++ desktop/trunk/xfce4-session/debian/postinst	2008-05-20 06:18:13 UTC (rev 2092)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = configure ]; then
+  update-alternatives --install /usr/bin/x-session-manager \
+    x-session-manager /usr/bin/xfce4-session 50 \
+    --slave /usr/share/man/man1/x-session-manager.1.gz \
+    x-session-manager.1.gz /usr/share/man/man1/xfce4-session.1.gz 
+fi
+
+#DEBHELPER#
+
+exit 0

Copied: desktop/trunk/xfce4-session/debian/prerm (from rev 2048, desktop/trunk/xfce4-session/debian/prerm)
===================================================================
--- desktop/trunk/xfce4-session/debian/prerm	                        (rev 0)
+++ desktop/trunk/xfce4-session/debian/prerm	2008-05-20 06:18:13 UTC (rev 2092)
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then
+  update-alternatives --remove x-session-manager /usr/bin/xfce4-session 
+fi
+
+#DEBHELPER#
+
+exit 0




More information about the Pkg-xfce-commits mailing list