summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-27 05:00:34 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-11-27 05:03:53 +0100
commit460a6ccb468cbf5c878132a1fc2a888b51a67440 (patch)
treeeb28ff026b89b7d46fd596a4d8dac0e3d716961f /support
parent3ec9ecc84e0677251f44ebd1bbf445c74b968d8f (diff)
downloadaur-460a6ccb468cbf5c878132a1fc2a888b51a67440.tar.gz
aur-460a6ccb468cbf5c878132a1fc2a888b51a67440.tar.xz
Rework tupkg support scripts. Update paths.
Grep CVS update output for only useful messages. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/run-tupkgs3
-rwxr-xr-xsupport/scripts/run-tupkgupdate21
2 files changed, 13 insertions, 11 deletions
diff --git a/support/scripts/run-tupkgs b/support/scripts/run-tupkgs
index b5b3cb89..72fb11de 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 f54464ef..c75cd566 100755
--- a/support/scripts/run-tupkgupdate
+++ b/support/scripts/run-tupkgupdate
@@ -1,16 +1,17 @@
-#/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
+echo "Updating CVS..."
+cvs update -d 2>&1 | grep "^P\|^U\|repository."
cd -
-# sleep to avoid running into judd's permissions script!!
-#sleep 30
+# tupkgupdate <repodir> <cvsdir> <incomingdir>
+$aurroot/aur/tupkg/update/tupkgupdate --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full
-# it's tupkgupdate <repodir> <cvsdir> <incomingdir>
-/home/aur/aur/tupkg/update/tupkgupdate --delete --paranoid /home/ftp/community/os/i686 /home/aur/cvs /home/aur/packages/full
-date