diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-11 16:14:55 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-12-11 16:22:15 +0100 |
commit | 186abc852a9f442d94cf7fdf44f394993173ccd1 (patch) | |
tree | 71322b37ca12fda2a693a92c2c9bed7b3952bbdf /tupkg/scripts/run-tupkgupdate | |
parent | 084b11a6f2e1575cd7c84dee194d0ab66e2087a4 (diff) | |
download | aur-186abc852a9f442d94cf7fdf44f394993173ccd1.tar.gz aur-186abc852a9f442d94cf7fdf44f394993173ccd1.tar.xz |
Move tupkg scripts to tupkg/scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg/scripts/run-tupkgupdate')
-rwxr-xr-x | tupkg/scripts/run-tupkgupdate | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tupkg/scripts/run-tupkgupdate b/tupkg/scripts/run-tupkgupdate new file mode 100755 index 00000000..955144a6 --- /dev/null +++ b/tupkg/scripts/run-tupkgupdate @@ -0,0 +1,19 @@ +#!/bin/bash + +aurroot=/srv/http/aur + +# Set HOME for correct cvs auth. +HOME=$aurroot + +echo "--------------------" +date + +# Update the CVS tree. +# Filter out useless output. +cd $aurroot/cvs +echo "Updating CVS..." +cvs update -dP 2>&1 | grep -v "Updating" + +# tupkgupdate <repodir> <cvsdir> <incomingdir> +$aurroot/aur/tupkg/update/tupkgupdate -c $aurroot/tupkgs.conf --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full + |