Accepting request 223259 from Base:System
- test for existence before trying to modify /etc/sysconfig/clock (forwarded request 223249 from oertel) OBS-URL: https://build.opensuse.org/request/show/223259 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/post-build-checks?expand=0&rev=77
This commit is contained in:
commit
3f835abbc2
@ -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
|
Tue Feb 4 14:19:50 UTC 2014 - ro@suse.com
|
||||||
|
|
||||||
|
@ -87,7 +87,9 @@ if ! test -e /.buildenv; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security
|
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
|
sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
|
||||||
|
fi
|
||||||
UNAME=/bin/uname
|
UNAME=/bin/uname
|
||||||
if test -f /usr/bin/uname ; then
|
if test -f /usr/bin/uname ; then
|
||||||
UNAME=/usr/bin/uname
|
UNAME=/usr/bin/uname
|
||||||
|
Loading…
Reference in New Issue
Block a user