>From 30e74f5eb4c41338e0fa73866c030ccb6eb60872 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Mon, 24 Nov 2008 03:34:10 -0500 Subject: [PATCH] Rework tupkg support scripts. Update paths. Signed-off-by: Loui Chang --- support/scripts/run-tupkgs | 3 ++- support/scripts/run-tupkgupdate | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/support/scripts/run-tupkgs b/support/scripts/run-tupkgs index b5b3cb8..72fb11d 100755 --- a/support/scripts/run-tupkgs +++ b/support/scripts/run-tupkgs @@ -1,3 +1,4 @@ #!/bin/bash +aurroot=/srv/sites/http/aur -nohup /home/aur/aur/tupkg/server/tupkgs -c /home/aur/tupkgs.conf >/home/aur/tupkgs.log 2>&1 & +nohup $aurroot/aur/tupkg/server/tupkgs -c $aurroot/tupkgs.conf > $aurroot/tupkgs.log 2>&1 & diff --git a/support/scripts/run-tupkgupdate b/support/scripts/run-tupkgupdate index f54464e..ca81a93 100755 --- a/support/scripts/run-tupkgupdate +++ b/support/scripts/run-tupkgupdate @@ -1,16 +1,16 @@ -#/bin/bash +#!/bin/bash -echo "-----" +aurroot=/srv/http/sites/aur + +echo "--------------------" date -# update the cvs tree -cd /home/aur/cvs -cvs update -d +# Update the cvs tree. +# Show a bit of the beginning output. +cd $aurroot/cvs +cvs update -d 2>&1 | head cd - -# sleep to avoid running into judd's permissions script!! -#sleep 30 +# tupkgupdate +$aurroot/aur/tupkg/update/tupkgupdate -c $aurroot/tupkgs.conf --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full -# it's tupkgupdate -/home/aur/aur/tupkg/update/tupkgupdate --delete --paranoid /home/ftp/community/os/i686 /home/aur/cvs /home/aur/packages/full -date -- 1.6.0.4