openbsd-ports/x11/xfce4/xfce-utils/patches/patch-scripts_xflock4
landry 8446e34c1a Update to xfce-utils 4.8.0.
Add a temporary workaround to install the fd.o menu file to
~/.config/menus/ at startup, i'm working on a fix with upstream (#6796)
2011-01-18 20:25:56 +00:00

16 lines
660 B
Plaintext

$OpenBSD: patch-scripts_xflock4,v 1.2 2011/01/18 20:25:56 landry Exp $
--- scripts/xflock4.orig Sun Jan 16 17:02:27 2011
+++ scripts/xflock4 Tue Jan 18 16:01:44 2011
@@ -19,9 +19,9 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-if test x"`which xscreensaver-command 2>/dev/null`" != x""; then
+if test x"`whereis xscreensaver-command`" != x""; then
xscreensaver-command -lock
-elif test x"`which gnome-screensaver-command 2>/dev/null`" != x""; then
+elif test x"`whereis gnome-screensaver-command`" != x""; then
gnome-screensaver-command --lock
elif test x"`which slock 2>/dev/null`" != x""; then
slock