]> git.pld-linux.org Git - packages/dokuwiki-plugin-indexmenu.git/commitdiff
- refresh dw cache on install
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 28 Jan 2009 14:29:12 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-indexmenu.spec -> 1.6

dokuwiki-plugin-indexmenu.spec

index b448a13da56f1d4169877d76732893fd85be7987..552df0f2d72b7d7c328cfa0950487ab1297e09ed 100644 (file)
@@ -13,6 +13,7 @@ Requires:     dokuwiki >= 20061106
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                dokuconf        /etc/webapps/dokuwiki
 %define                dokudir         /usr/share/dokuwiki
 %define                plugindir       %{dokudir}/lib/plugins/%{plugin}
 
@@ -57,6 +58,12 @@ rm -f $RPM_BUILD_ROOT%{plugindir}/{CREDITS,changelog}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+# force css cache refresh
+if [ -f %{dokuconf}/local.php ]; then
+       touch %{dokuconf}/local.php
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc CREDITS changelog
This page took 0.087601 seconds and 4 git commands to generate.