4 if [ ! -z "$1" ] && [ -d "$1" ]; then
10 ## if you activate this then every run via cronjob creates an email
11 ## echo "Installing to target $target";
16 ## Legacy problem: cvs folder is named doc, should be docs - so we make a link
18 if [ ! -L doc
] && [ ! -d doc
]; then
24 #svn checkout svn://svn.berlios.de/openxpki/www.openxpki.org/trunk/htdocs $target 2>/dev/null >/dev/null
26 CMD
="svn checkout https://openxpki.svn.sourceforge.net/svnroot/openxpki/www.openxpki.org/trunk/htdocs $target"
30 svn checkout https
://openxpki.svn.sourceforge.net
/svnroot
/openxpki
/www.openxpki.org
/trunk
/htdocs
$target 2>/dev
/null
>/dev
/null
33 cvs
-z3 -d:pserver
:anonymous@openca.cvs.sourceforge.net
:/cvsroot
/openca co
-P doc
>/dev
/null
2>&1
35 ## copy stuff to htdocs area
37 ## create symlinks if necessary
38 # images for One Page HTML Guide
45 ln -s html html_chunked
47 # provide .css for /docs/guide/openca-guide.html
48 # NB: link does not work here!
51 # images for chunked html
56 ## Update nightly snapshot
58 ${old}/fetch.sh
2>/dev
/null
>/dev
/null
62 #echo "update succeeded"