From: <smi...@us...> - 2004-01-01 17:19:09
|
Update of /cvsroot/devil-linux/web/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv1245/scripts Added Files: website_from_cvs Log Message: added script for automatic website update --- NEW FILE: website_from_cvs --- #!/bin/sh cd /home/groups/d/de/devil-linux || exit 1 test -d web && rm -rf web yes "" | cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux login || exit 1 cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux co web || exit 1 find ./ -name CVS | xargs rm -rf find web/ -type f | xargs chmod 664 find web/ -type d | xargs chmod 775 mv htdocs htdocs.old mv web htdocs rm -rf htdocs.old |