]> git.pld-linux.org Git - packages/dokuwiki-plugin-snmplive.git/commitdiff
- refresh dw cache on install master
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-snmplive.spec -> 1.5

dokuwiki-plugin-snmplive.spec

index c7608ca0233ede0417bc465a2b55ddf15b255ec1..90421267ad2a06318de5a10986a24b30dce5d87e 100644 (file)
@@ -15,6 +15,7 @@ Requires:     php(snmp)
 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}
 
@@ -37,6 +38,12 @@ rm -rf $RPM_BUILD_ROOT
 %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.113182 seconds and 4 git commands to generate.