]> git.pld-linux.org Git - packages/drupal-themeengine-smarty.git/commitdiff
- nuke cache on final preun
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2005 09:47:37 +0000 (09:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-themeengine-smarty.spec -> 1.2

drupal-themeengine-smarty.spec

index 193417e86be19078b90002a225bd582f6d66cac0..6a6c2b9e8886223e3e1063b840cde35e88cdd6eb 100644 (file)
@@ -2,7 +2,7 @@
 Summary:       Drupal Smarty theme engine
 Name:          drupal-themeengine-%{modname}
 Version:       4.6.0
-Release:       0.3
+Release:       0.9
 Epoch:         0
 License:       GPL v2
 Group:         Applications/WWW
@@ -41,6 +41,12 @@ install plugins/*.php $RPM_BUILD_ROOT%{_enginedir}/%{modname}/plugins
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%preun
+if [ "$1" = "0" ]; then
+       # nuke cache
+       rm -f %{_cachedir}/%{modname}/*.php
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc *.txt
This page took 0.113858 seconds and 4 git commands to generate.