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

dokuwiki-plugin-odt.spec

index 792cedbc9bed3bc0c6c434f8533110582d86b907..9dfb9cd2f99c2d59577b4ef0d4e6a6b97bd5b489 100644 (file)
@@ -14,6 +14,7 @@ Requires:     dokuwiki >= 20070626
 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}
 
@@ -46,6 +47,12 @@ sh %{SOURCE1} %{name}.lang
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+# force css cache refresh
+if [ -f %{dokuconf}/local.php ]; then
+       touch %{dokuconf}/local.php
+fi
+
 %files -f %{name}.lang
 %doc ChangeLog
 %defattr(644,root,root,755)
This page took 0.108132 seconds and 4 git commands to generate.