1
0

Accepting request 223249 from home:oertel:branches:Base:System

- test for existence before trying to modify /etc/sysconfig/clock

OBS-URL: https://build.opensuse.org/request/show/223249
OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=95
This commit is contained in:
Dirk Mueller 2014-02-20 16:17:47 +00:00 committed by Git OBS Bridge
parent 1b979a06c7
commit 09bc30f4d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 20 16:29:33 CET 2014 - ro@suse.de
- test for existence before trying to modify /etc/sysconfig/clock
-------------------------------------------------------------------
Tue Feb 4 14:19:50 UTC 2014 - ro@suse.com

View File

@ -87,7 +87,9 @@ if ! test -e /.buildenv; then
exit 0
fi
sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security
if [ -f /etc/sysconfig/clock ] ; then
sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
fi
UNAME=/bin/uname
if test -f /usr/bin/uname ; then
UNAME=/usr/bin/uname