]> git.pld-linux.org Git - packages/eventum.git/commitdiff
Skip smarty cache removal on uninstall
authorElan Ruusamäe <glen@delfi.ee>
Tue, 18 Aug 2020 10:52:00 +0000 (13:52 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 18 Aug 2020 10:52:02 +0000 (13:52 +0300)
There's more data to delete, seems weird to delete only smarty data

eventum.spec

index 2e4283e748a794924bb7d09681e6599b5b4cc7c2..3fe1637baa53e170339dcaf54dc2eb569f8a2e52 100644 (file)
@@ -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}
This page took 0.107981 seconds and 4 git commands to generate.