commit 1fa3398f88232af2e5a282837729d8b7f71fb13d Author: Elan Ruusamäe <g...@delfi.ee> Date: Tue Aug 18 13:52:00 2020 +0300
Skip smarty cache removal on uninstall There's more data to delete, seems weird to delete only smarty data eventum.spec | 6 ------ 1 file changed, 6 deletions(-) --- diff --git a/eventum.spec b/eventum.spec index 2e4283e..3fe1637 100644 --- a/eventum.spec +++ b/eventum.spec @@ -404,12 +404,6 @@ rm -f /var/cache/eventum/smarty/*.php # actually php engines "php-fcgi" and "php-fpm" needed only, apache is restarted anyway via webapp trigger. %php_webserver_restart -%preun -if [ "$1" = "0" ]; then - # nuke cache - rm -f /var/cache/eventum/*.php 2>/dev/null || : -fi - %postun if [ "$1" = "0" ]; then %userremove %{name} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/1fa3398f88232af2e5a282837729d8b7f71fb13d _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit