]> git.pld-linux.org Git - packages/dokuwiki-tpl-arctic.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-arctic.spec -> 1.5

dokuwiki-tpl-arctic.spec

index 4923e5641018823c3fb83e49fdffc45bd8df2645..fa296552c0551289a79a7f4d5d5465e0f4e281ba 100644 (file)
@@ -1,14 +1,14 @@
-%define                _snap   2008-07-30
-%define                _ver    %(echo %{_snap} | tr -d -)
+%define                snap    2008-07-30
+%define                ver     %(echo %{snap} | tr -d -)
 %define                tpl     arctic
 Summary:       Arctic template for DokuWiki
 Summary(pl.UTF-8):     Szablon Arctic dla Dokuwiki
 Name:          dokuwiki-tpl-%{tpl}
-Version:       %{_ver}
+Version:       %{ver}
 Release:       1
 License:       GPL v2
 Group:         Applications/WWW
-Source0:       http://www.chimeric.de/_media/projects/dokuwiki/template/arctic/download/template-arctic-%{_snap}.tgz
+Source0:       http://www.chimeric.de/_media/projects/dokuwiki/template/arctic/download/template-arctic-%{snap}.tgz
 # Source0-md5: 705f5dcb3935c3ea2c1bab6edbfd9235
 Source1:       dokuwiki-find-lang.sh
 URL:           http://www.chimeric.de/projects/dokuwiki/template/arctic
@@ -17,6 +17,7 @@ Requires:     dokuwiki >= 20080505
 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}
 
@@ -45,6 +46,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
 %defattr(644,root,root,755)
 %doc INSTALL README VERSION
This page took 0.111501 seconds and 4 git commands to generate.