[packages/eventum: 3/4] drop support migrating from < 3.0.0

glen glen at pld-linux.org
Wed Sep 5 17:50:59 CEST 2018


commit c316a9af3f4d09f3574b86473b8ea0e384c4ee65
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Sep 5 18:50:01 2018 +0300

    drop support migrating from < 3.0.0

 eventum.spec | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 4828f5b..4a526a8 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -517,17 +517,6 @@ fi
 %triggerun -- lighttpd
 %webapp_unregister lighttpd %{_webapp}
 
-%triggerpostun -- %{name} < 3.0.0-0.2
-for f in /etc/cron.d/eventum-*; do
-	# crontabs moved to bin
-	%{__sed} -i -e '
-		s,/usr/share/eventum/crons/process_mail_queue.php,%{_appdir}/bin/process_mail_queue.php,
-		s,/usr/share/eventum/crons/download_emails.php,%{_appdir}/bin/download_emails.php,
-		s,/usr/share/eventum/crons/check_reminders.php,%{_appdir}/bin/check_reminders.php,
-		s,/usr/share/eventum/crons/monitor.php,%{_appdir}/bin/monitor.php,
-	' $f
-done
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(771,root,http) %dir %{_webappdir}
@@ -556,6 +545,7 @@ done
 %dir %{_appdir}/bin
 %attr(755,root,root) %{_appdir}/bin/extension.php
 %attr(755,root,root) %{_appdir}/bin/ldapsync.php
+%attr(755,root,root) %{_appdir}/bin/migrate_storage_adapter.php
 %attr(755,root,root) %{_appdir}/bin/process_all_emails.php
 %attr(755,root,root) %{_appdir}/bin/upgrade.php
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/acd00494b4a4d87bb93d57dabbfb97508af34b92



More information about the pld-cvs-commit mailing list