- 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:
Tomáš Chvátal 2016-11-21 12:04:31 +00:00 committed by Git OBS Bridge
parent 2f88303597
commit d174a91fcb
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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