[geeklog-cvs] tools: Leave copy of lib-custom.php for phpDocumentor
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Apr 11 05:25:49 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/4a84799526d6
changeset: 30:4a84799526d6
user: Dirk Haun <dirk at haun-online.de>
date: Sat Apr 11 11:25:40 2009 +0200
description:
Leave copy of lib-custom.php for phpDocumentor
diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
cronjobs/nightly.sh | 10 +++++++---
diffs (42 lines):
diff -r cf915aa5cfed -r 4a84799526d6 cronjobs/nightly.sh
--- a/cronjobs/nightly.sh Sat Apr 04 21:42:46 2009 +0200
+++ b/cronjobs/nightly.sh Sat Apr 11 11:25:40 2009 +0200
@@ -13,13 +13,16 @@
cd /usr/home/geeklog2/nightly/geeklog-nightly
+rm -f system/lib-custom.php
+
# update repository
/usr/local/bin/hg -q pull > /dev/null 2>&1
/usr/local/bin/hg -q up > /dev/null 2>&1
-# fix config names
+# fix names of .dist files
mv db-config.php.dist db-config.php
mv public_html/siteconfig.php.dist public_html/siteconfig.php
+mv system/lib-custom.php.dist system/lib-custom.php
# add PEAR classes
cd system/pear
@@ -43,7 +46,6 @@
rm -f plugins/spamx/ProjectHoneyPot.Examine.class.php
# about time we clean up the install directory ...
rm -f public_html/admin/install/addindex.php
-rm -f system/lib-custom.php.dist
# PEAR buildpackage files
rm -f plugins/calendar/buildpackage.php
@@ -76,9 +78,11 @@
tar cf geeklog-nightly.tar '--exclude=\.hg' geeklog-nightly
gzip geeklog-nightly.tar
-# rename config files back to their names in the repository
+# rename .dist files back to their names in the repository
mv geeklog-nightly/db-config.php geeklog-nightly/db-config.php.dist
mv geeklog-nightly/public_html/siteconfig.php geeklog-nightly/public_html/siteconfig.php.dist
+# leave copy of lib-custom.php for phpDocumentor
+cp -p geeklog-nightly/system/lib-custom.php geeklog-nightly/system/lib-custom.php.dist
mv geeklog-nightly.tar.gz /usr/www/users/geeklog2/www/nightly/
More information about the geeklog-cvs
mailing list