X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=update_hdwlinux_org.sh;fp=update_hdwlinux_org.sh;h=f4ca5bbc0b9932cd2b41ee5482f6838a24165520;hp=0000000000000000000000000000000000000000;hb=3792df74842a88b7376af0a35816222ca113d4d6;hpb=d11c6f2400146077ab28f00ed000e4c190441432 diff --git a/update_hdwlinux_org.sh b/update_hdwlinux_org.sh new file mode 100755 index 0000000..f4ca5bb --- /dev/null +++ b/update_hdwlinux_org.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +oldpwd=$PWD +hdwdir=/var/www/hdwlinux.org/download/hdw-linux/hdw-linux-cvs + +echo -en "hdw-linux.cvs update ..." >> /var/log/messages + +cd $hdwdir/scripts +cvs up -d +cd .. +rm -f $hdwdir/snapshot/hdw-linux-cvs.tar* +tar cf $hdwdir/snapshot/hdw-linux-cvs.tar hdw-linux-cvs +bzip2 $hdwdir/snapshot/hdw-linux-cvs.tar +cd $oldpwd + +echo -en "done\n" >> /var/log/messages +