[Gnucash-changes] r14260 - meta/hooks - Update the namazu templates
from htdocs in the beta search site.
Derek Atkins
warlord at cvs.gnucash.org
Tue May 30 17:10:36 EDT 2006
Author: warlord
Date: 2006-05-30 17:10:36 -0400 (Tue, 30 May 2006)
New Revision: 14260
Trac: http://svn.gnucash.org/trac/changeset/14260
Modified:
meta/hooks/post-commit
Log:
Update the namazu templates from htdocs in the beta search site.
Modified: meta/hooks/post-commit
===================================================================
--- meta/hooks/post-commit 2006-05-30 20:30:43 UTC (rev 14259)
+++ meta/hooks/post-commit 2006-05-30 21:10:36 UTC (rev 14260)
@@ -61,21 +61,11 @@
[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....meta/hooks"` != 0 ] && \
cd ${REPOS}/hooks && svn update
-# 2006-01-18, warlord: If the commit changed htdocs/trunk/externals
-# then also update the web site search directory
-[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....htdocs/trunk/externals"` != 0 ] && \
- cd /home/nmz/nmz-beta && svn update
-[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....htdocs/branches/published/externals"` != 0 ] && \
- cd /home/nmz/nmz && svn update
-
-# 2006-05-14: warlord: update the nazamu search engine
-[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....mail-search/trunk"` != 0 ] && \
- cd /home/nmz/nmz-beta && svn update && make
-[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....mail-search/branches/published"` != 0 ] && \
- cd /home/nmz/nmz && svn update
-
# 2006-05-08: jsled: tickle www.gnucash.org if the published branches changes.
+# 2006-05-31: warlord: also update the namazu templates
[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....htdocs/trunk"` != 0 ] && \
- ${REPOS}/hooks/update-website
+ ( ${REPOS}/hooks/update-website ; \
+ cd /home/nmz/nmz-beta && svn update && make nmz URLBASE=/beta )
+
[ `${SVNLOOK} changed ${REPOS} -r ${REV} | ${EGREP} -c "^....htdocs/branches/published"` != 0 ] && \
${REPOS}/hooks/update-website
More information about the gnucash-changes
mailing list