From: hackbard Date: Mon, 25 Nov 2002 17:36:37 +0000 (+0000) Subject: added hdw-linux presentation script X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=2df8b7bff4b4c6383ee357eb0e7b21c300a82f6e;p=scripts%2Fscripts.git added hdw-linux presentation script --- diff --git a/README b/README index b196c3a..bd262ee 100644 --- a/README +++ b/README @@ -3,4 +3,7 @@ - backup.sh simple script making backups of important files and data. +- present_hdw_scripts.sh + small script to copy the hdw-linux scripts on my http server + EOF diff --git a/present_hdw_scripts.sh b/present_hdw_scripts.sh new file mode 100755 index 0000000..745414e --- /dev/null +++ b/present_hdw_scripts.sh @@ -0,0 +1,21 @@ +# creates a directory with the latest cvs hdw source to present it online +# +# author: hackbard +# + +ver="0.2-dev" +inst_path="/chroot/www/htdocs/download/hdw-linux/hdw-linux-${ver}/scripts" + +echo "installing scripts to $inst_path ..." + +rm -rf $inst_path +mkdir -p $inst_path + +cvs -d:pserver:anonymous@localhost:/hdw-linux co hdw-linux-${ver} +mv hdw-linux-${ver}/* $inst_path +chmod -R 755 $inst_path + +rm -rf hdw-linux-${ver} + +echo "finished." +