From 3792df74842a88b7376af0a35816222ca113d4d6 Mon Sep 17 00:00:00 2001 From: hackbard Date: Mon, 14 Mar 2005 19:35:49 +0000 Subject: [PATCH] added update_hdwlinux_org.sh script --- update_hdwlinux_org.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 update_hdwlinux_org.sh 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 + -- 2.20.1