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

dokuwiki-tpl-sidebar.spec

index aa651ff763d4d4aa476fbb75ac40f7a3e22328da..540b6c35896fdaef75d0b3695aeb2cdcf79b7cee 100644 (file)
@@ -16,6 +16,7 @@ Requires:     dokuwiki >= 20090126
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     /etc/webapps/dokuwiki
 %define                dokudir         /usr/share/dokuwiki
 %define                tpldir          %{dokudir}/lib/tpl/%{tpl}
 
@@ -52,6 +53,12 @@ rm -f $RPM_BUILD_ROOT%{tpldir}/INSTALL
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+# force cache refresh
+if [ -f %{_sysconfdir}/local.php ]; then
+       touch %{_sysconfdir}/local.php
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc INSTALL
This page took 0.101543 seconds and 4 git commands to generate.