[Pkg-xfce-commits] r2035 - desktop/trunk/xfce-mcs-manager/debian

corsac at alioth.debian.org corsac at alioth.debian.org
Sun May 18 14:18:41 UTC 2008


Author: corsac
Date: 2008-05-18 14:18:39 +0000 (Sun, 18 May 2008)
New Revision: 2035

Added:
   desktop/trunk/xfce-mcs-manager/debian/postinst
   desktop/trunk/xfce-mcs-manager/debian/prerm
   desktop/trunk/xfce-mcs-manager/debian/triggers
Modified:
   desktop/trunk/xfce-mcs-manager/debian/changelog
   desktop/trunk/xfce-mcs-manager/debian/control
Log:
* add triggers for xfce-mcs-manager refresh
  - debian/control: depends on dpkg with trigger support.
  - debian/triggers: declare interest on /usr/lib/xfce4/mcs-plugins.
  - debian/{postinst,prerm}: do the refresh.

Modified: desktop/trunk/xfce-mcs-manager/debian/changelog
===================================================================
--- desktop/trunk/xfce-mcs-manager/debian/changelog	2008-05-17 16:46:43 UTC (rev 2034)
+++ desktop/trunk/xfce-mcs-manager/debian/changelog	2008-05-18 14:18:39 UTC (rev 2035)
@@ -1,3 +1,12 @@
+xfce-mcs-manager (4.4.2-3) UNRELEASED; urgency=low
+
+  * add triggers for xfce-mcs-manager refresh
+    - debian/control: depends on dpkg with trigger support.
+    - debian/triggers: declare interest on /usr/lib/xfce4/mcs-plugins.
+    - debian/{postinst,prerm}: do the refresh.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 18 May 2008 16:16:30 +0200
+
 xfce-mcs-manager (4.4.2-2) unstable; urgency=low
 
   * debian/control:

Modified: desktop/trunk/xfce-mcs-manager/debian/control
===================================================================
--- desktop/trunk/xfce-mcs-manager/debian/control	2008-05-17 16:46:43 UTC (rev 2034)
+++ desktop/trunk/xfce-mcs-manager/debian/control	2008-05-18 14:18:39 UTC (rev 2035)
@@ -11,7 +11,7 @@
 
 Package: xfce4-mcs-manager
 Architecture: any
-Depends: ${shlibs:Depends}, hicolor-icon-theme (>= 0.10)
+Depends: ${shlibs:Depends}, hicolor-icon-theme (>= 0.10), dpkg (>= 1.14.18)
 Recommends: xfce4-mcs-plugins, xfce4-icon-theme
 Description: Settings manager for Xfce4
  This package contains xfce-mcs-manager, a tool that can be

Added: desktop/trunk/xfce-mcs-manager/debian/postinst
===================================================================
--- desktop/trunk/xfce-mcs-manager/debian/postinst	                        (rev 0)
+++ desktop/trunk/xfce-mcs-manager/debian/postinst	2008-05-18 14:18:39 UTC (rev 2035)
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+# When stuff has been installed in /usr/lib/xfce4/mcs-plugin, do the refresh
+if [ "$1" = "triggered" ]; then
+	kill -s USR1 `pidof xfce-mcs-manager` > /dev/null 2>&1 || true
+fi

Added: desktop/trunk/xfce-mcs-manager/debian/prerm
===================================================================
--- desktop/trunk/xfce-mcs-manager/debian/prerm	                        (rev 0)
+++ desktop/trunk/xfce-mcs-manager/debian/prerm	2008-05-18 14:18:39 UTC (rev 2035)
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+# When stuff has been removed from /usr/lib/xfce4/mcs-plugin, do the refresh
+if [ "$1" = "triggered" ]; then
+	kill -s USR1 `pidof xfce-mcs-manager` > /dev/null 2>&1 || true
+fi

Added: desktop/trunk/xfce-mcs-manager/debian/triggers
===================================================================
--- desktop/trunk/xfce-mcs-manager/debian/triggers	                        (rev 0)
+++ desktop/trunk/xfce-mcs-manager/debian/triggers	2008-05-18 14:18:39 UTC (rev 2035)
@@ -0,0 +1 @@
+interest /usr/lib/xfce4/mcs-plugins




More information about the Pkg-xfce-commits mailing list