]> git.pld-linux.org Git - packages/drupal-themeengine-smarty.git/blobdiff - drupal-themeengine-smarty.spec
- nuke cache on final preun
[packages/drupal-themeengine-smarty.git] / 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.10631 seconds and 4 git commands to generate.