- Remove aaa_base compat setting that is from 2003, we do not

support such migration anymore

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=62
This commit is contained in:
Tomáš Chvátal 2017-07-07 08:29:47 +00:00 committed by Git OBS Bridge
parent d626fcd04d
commit 02f452ffff
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 7 08:28:18 UTC 2017 - tchvatal@suse.com
- Remove aaa_base compat setting that is from 2003, we do not
support such migration anymore
-------------------------------------------------------------------
Wed Dec 28 11:19:13 UTC 2016 - tchvatal@suse.com

View File

@ -72,10 +72,6 @@ ln -s service %{buildroot}%{_sbindir}/rc%{name}
%post
%{remove_and_set MAX_DAYS_FOR_LOG_FILES}
if [ -f %{_sysconfdir}/logrotate.d/aaa_base ] ; then
echo "Saving old logrotate system configuration"
mv -v %{_sysconfdir}/logrotate.d/aaa_base %{_sysconfdir}/logrotate.d.aaa_base.save
fi
# Move /var/lib/logrotate.status
if [ -f %{_localstatedir}/lib/logrotate.status -a ! -f %{_localstatedir}/lib/misc/logrotate.status ]; then
mv %{_localstatedir}/lib/logrotate.status %{_localstatedir}/lib/misc/logrotate.status ||: