[Pkg-xfce-commits] r6053 - in desktop/trunk/xfce4-utils/debian: . patches
Lionel Le Folgoc
mrpouit-guest at alioth.debian.org
Fri Sep 23 07:36:04 UTC 2011
Author: mrpouit-guest
Date: 2011-09-23 19:36:03 +0000 (Fri, 23 Sep 2011)
New Revision: 6053
Modified:
desktop/trunk/xfce4-utils/debian/changelog
desktop/trunk/xfce4-utils/debian/patches/01_xflock4-test-running-screensaver.patch
Log:
debian/patches/01_xflock4-test-running-screensaver.patch: use pgrep -f for
gnome-screensaver, as the binary name is longer than 15c. Closes: #642551
Modified: desktop/trunk/xfce4-utils/debian/changelog
===================================================================
--- desktop/trunk/xfce4-utils/debian/changelog 2011-09-23 18:22:06 UTC (rev 6052)
+++ desktop/trunk/xfce4-utils/debian/changelog 2011-09-23 19:36:03 UTC (rev 6053)
@@ -2,6 +2,8 @@
* New upstream release, including updated translations.
* debian/xfce4-utils.1: fix path to upstream docs. Closes: #638205
+ * debian/patches/01_xflock4-test-running-screensaver.patch: use pgrep -f for
+ gnome-screensaver, as the binary name is longer than 15c. Closes: #642551
-- Lionel Le Folgoc <mrpouit at gmail.com> Thu, 22 Sep 2011 21:28:03 +0200
Modified: desktop/trunk/xfce4-utils/debian/patches/01_xflock4-test-running-screensaver.patch
===================================================================
--- desktop/trunk/xfce4-utils/debian/patches/01_xflock4-test-running-screensaver.patch 2011-09-23 18:22:06 UTC (rev 6052)
+++ desktop/trunk/xfce4-utils/debian/patches/01_xflock4-test-running-screensaver.patch 2011-09-23 19:36:03 UTC (rev 6053)
@@ -10,7 +10,7 @@
+if pgrep xscreensaver > /dev/null 2>&1; then
xscreensaver-command -lock
-elif test x"`which gnome-screensaver-command 2>/dev/null`" != x""; then
-+elif pgrep gnome-screensaver 2>/dev/null; then
++elif pgrep -f gnome-screensaver 2>/dev/null; then
gnome-screensaver-command --lock
elif test x"`which slock 2>/dev/null`" != x""; then
slock
More information about the Pkg-xfce-commits
mailing list