Accepting request 421482 from home:VictorYang:branches:X11:windowmanagers

bnc#977233 modify the command to correct one

OBS-URL: https://build.opensuse.org/request/show/421482
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=66
This commit is contained in:
Tomáš Chvátal 2016-08-24 08:16:29 +00:00 committed by Git OBS Bridge
parent 42d24a97f9
commit b6811f6643
3 changed files with 9 additions and 3 deletions

View File

@ -44,11 +44,11 @@ Index: src/preferences
# Command to shutdown the system # Command to shutdown the system
-# ShutdownCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl poweroff; } ||:"" -# ShutdownCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl poweroff; } ||:""
+ShutdownCommand="/bin/sh -c "systemctl poweroff ||:"" +ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
# Command to reboot the system # Command to reboot the system
-# RebootCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl reboot; } ||:"" -# RebootCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl reboot; } ||:""
+RebootCommand="/bin/sh -c "systemctl reboot ||:"" +RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
# Command to run on CPU status # Command to run on CPU status
# CPUStatusCommand="xterm -name top -title Process\ Status -e top" # CPUStatusCommand="xterm -name top -title Process\ Status -e top"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 24 07:55:56 UTC 2016 - tyang@suse.com
- Modify: icewm-preferences.patch
bnc#977233 modify the command to correct one.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 2 11:30:11 UTC 2016 - tchvatal@suse.com Thu Jun 2 11:30:11 UTC 2016 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package icewm # spec file for package icewm
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed