[Pkg-xfce-commits] r5363 - desktop/trunk/xfce4-utils/debian

Yves-Alexis Perez corsac at alioth.debian.org
Mon Apr 11 01:57:19 UTC 2011


Author: corsac
Date: 2011-04-11 13:57:15 +0000 (Mon, 11 Apr 2011)
New Revision: 5363

Added:
   desktop/trunk/xfce4-utils/debian/postinst
   desktop/trunk/xfce4-utils/debian/prerm
Log:
woops, forgot to add the files themselves


Added: desktop/trunk/xfce4-utils/debian/postinst
===================================================================
--- desktop/trunk/xfce4-utils/debian/postinst	                        (rev 0)
+++ desktop/trunk/xfce4-utils/debian/postinst	2011-04-11 13:57:15 UTC (rev 5363)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = configure ]; then
+  update-alternatives --install /usr/bin/x-session-manager \
+    x-session-manager /usr/bin/startxfce4 50 \
+    --slave /usr/share/man/man1/x-session-manager.1.gz \
+    x-session-manager.1.gz /usr/share/man/man1/startxfce4.1.gz
+fi
+
+#DEBHELPER#
+
+exit 0

Added: desktop/trunk/xfce4-utils/debian/prerm
===================================================================
--- desktop/trunk/xfce4-utils/debian/prerm	                        (rev 0)
+++ desktop/trunk/xfce4-utils/debian/prerm	2011-04-11 13:57:15 UTC (rev 5363)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# remove alternatives links
+if [ "$1" = "remove" ]; then
+  update-alternatives --remove x-session-manager /usr/bin/startxfce4
+
+fi
+
+#DEBHELPER#
+
+exit 0




More information about the Pkg-xfce-commits mailing list