SPECS: dokuwiki-tpl-sidebar.spec - force cache refresh after install

glen glen at pld-linux.org
Tue Jan 27 16:03:40 CET 2009


Author: glen                         Date: Tue Jan 27 15:03:40 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- force cache refresh after install

---- Files affected:
SPECS:
   dokuwiki-tpl-sidebar.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki-tpl-sidebar.spec
diff -u SPECS/dokuwiki-tpl-sidebar.spec:1.6 SPECS/dokuwiki-tpl-sidebar.spec:1.7
--- SPECS/dokuwiki-tpl-sidebar.spec:1.6	Tue Jan 27 15:51:58 2009
+++ SPECS/dokuwiki-tpl-sidebar.spec	Tue Jan 27 16:03:34 2009
@@ -17,6 +17,7 @@
 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}
 
@@ -53,6 +54,12 @@
 %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
@@ -64,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2009/01/27 15:03:34  glen
+- force cache refresh after install
+
 Revision 1.6  2009/01/27 14:51:58  glen
 - up for 2009-01-26 rc dw
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dokuwiki-tpl-sidebar.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list