SPECS: template-dokuwiki-plugin.spec - refresh cache for plugins install do...
glen
glen at pld-linux.org
Wed Jan 28 15:23:31 CET 2009
Author: glen Date: Wed Jan 28 14:23:30 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- refresh cache for plugins install does't hurt
---- Files affected:
SPECS:
template-dokuwiki-plugin.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/template-dokuwiki-plugin.spec
diff -u SPECS/template-dokuwiki-plugin.spec:1.3 SPECS/template-dokuwiki-plugin.spec:1.4
--- SPECS/template-dokuwiki-plugin.spec:1.3 Wed Jan 28 15:20:10 2009
+++ SPECS/template-dokuwiki-plugin.spec Wed Jan 28 15:23:25 2009
@@ -15,6 +15,7 @@
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}
@@ -39,6 +40,12 @@
%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 README CREDITS changelog
@@ -54,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/01/28 14:23:25 glen
+- refresh cache for plugins install does't hurt
+
Revision 1.3 2009/01/28 14:20:10 glen
- less underscores
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/template-dokuwiki-plugin.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list