]> git.pld-linux.org Git - packages/dokuwiki-plugin-searchindex.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-searchindex.spec -> 1.4

dokuwiki-plugin-searchindex.spec

index 2972813a14d1db862d9ecb57ebb8d282f22d49b8..1d2f83fccfa9e3cb4a3cc35c7fea9fb7a9c94827 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}
 
@@ -48,6 +49,12 @@ cp -a . $RPM_BUILD_ROOT%{plugindir}
 %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)
 %{plugindir}
This page took 0.073624 seconds and 4 git commands to generate.