]> git.pld-linux.org Git - packages/dokuwiki-tpl-minimalmobile.git/commitdiff
- force css cache refresh after install
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Jan 2009 15:06:49 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-tpl-minimalmobile.spec -> 1.7

dokuwiki-tpl-minimalmobile.spec

index 965ad3d37e9322d846b15e921493682061f7858d..7b7c48401a59ba8e025721cd2ac3cf9d78c5de4d 100644 (file)
@@ -14,6 +14,7 @@ Requires:     dokuwiki
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                dokuconf        /etc/webapps/dokuwiki
 %define                dokudir         /usr/share/dokuwiki
 %define                tpldir          %{dokudir}/lib/tpl/%{tpl}
 
@@ -61,6 +62,12 @@ cp -a minimalmobile/* $RPM_BUILD_ROOT%{tpldir}
 %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 INSTALL
This page took 0.057043 seconds and 4 git commands to generate.