- Fix post scriptlet condition bnc#1011120
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=53
This commit is contained in:
parent
2f88303597
commit
d174a91fcb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 12:03:14 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Fix post scriptlet condition bnc#1011120
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 12 22:08:25 CET 2016 - kukuk@suse.de
|
||||
|
||||
|
@ -94,7 +94,7 @@ if [ -f %{_sysconfdir}/logrotate.d/aaa_base ] ; then
|
||||
mv -v %{_sysconfdir}/logrotate.d/aaa_base %{_sysconfdir}/logrotate.d.aaa_base.save
|
||||
fi
|
||||
# Move /var/lib/logrotate.status
|
||||
if [ -f /var/lib/logrotate.status -a !-f /var/lib/misc/logrotate.status ]; then
|
||||
if [ -f /var/lib/logrotate.status -a ! -f /var/lib/misc/logrotate.status ]; then
|
||||
mv /var/lib/logrotate.status /var/lib/misc/logrotate.status ||:
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user