Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> master : try using true instead of :
  • From: Ladislav Slezak <lslezak@xxxxxxxxxx>
  • Date: Fri, 25 Sep 2009 13:57:47 +0200
  • Message-id: <E1Mr9RQ-0005wW-DV@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit ea27d384c0a7395fbfba2702b7f8427093cfd44d
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
Date: Fri Sep 25 13:57:47 2009 +0200

try using true instead of :

- 11.1 build fails, maybe because of this??
---
.../system/package/yast2-webservice-system.spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/system/package/yast2-webservice-system.spec
b/plugins/system/package/yast2-webservice-system.spec
index 3fd007c..3903e50 100644
--- a/plugins/system/package/yast2-webservice-system.spec
+++ b/plugins/system/package/yast2-webservice-system.spec
@@ -59,10 +59,10 @@ rm -rf $RPM_BUILD_ROOT

%post
# granting all permissions for the web user
-polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.shutdown >& /dev/null || :
-polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.shutdown-multiple-sessions >& /dev/null ||
:
-polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.reboot >& /dev/null || :
-polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.reboot-multiple-sessions >& /dev/null || :
+polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.shutdown >& /dev/null || true
+polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.shutdown-multiple-sessions >& /dev/null ||
true
+polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.reboot >& /dev/null || true
+polkit-auth --user %{pkg_user} --grant
org.freedesktop.hal.power-management.reboot-multiple-sessions >& /dev/null ||
true

%postun
# discard all configured permissions for the web user
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages