[packages/logrotate] Merge 3.7.8-4, 3.11.0-3 triggers for rpm 4.16

glen glen at pld-linux.org
Fri Jan 8 10:38:59 CET 2021


commit 73f40f638d7b97c1cbdf635da5ac4aa34f5b4674
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Jan 8 11:30:23 2021 +0200

    Merge 3.7.8-4, 3.11.0-3 triggers for rpm 4.16

 logrotate.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/logrotate.spec b/logrotate.spec
index 6c8332e..f59b8fe 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -173,10 +173,8 @@ if [ ! -e /etc/cron.daily/%{name} ]; then
 	echo DISABLE_LOGROTATE_CRON=yes >> /etc/sysconfig/%{name}
 fi
 
-%triggerpostun -- %{name} < 3.7.8-4
-%{__sed} -i -e 's,olddir /var/log/archiv$,olddir /var/log/archive,' %{_sysconfdir}/%{name}.conf %{_sysconfdir}/logrotate.d/* || :
-
 %triggerpostun -- %{name} < 3.11.0-3
+%{__sed} -i -e 's,olddir /var/log/archiv$,olddir /var/log/archive,' %{_sysconfdir}/%{name}.conf %{_sysconfdir}/logrotate.d/* || :
 %systemd_service_enable cronjob-%{name}.timer
 
 %post
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/logrotate.git/commitdiff/8b433867c9d5ea840f6dfff64872eb0efaedf0c4



More information about the pld-cvs-commit mailing list