mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Rework tupkg support scripts. Update paths.
Grep CVS update output for only useful messages. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
3ec9ecc84e
commit
460a6ccb46
2 changed files with 13 additions and 11 deletions
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/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 &
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
#/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "-----"
|
aurroot=/srv/http/sites/aur
|
||||||
|
|
||||||
|
echo "--------------------"
|
||||||
date
|
date
|
||||||
|
|
||||||
# update the cvs tree
|
# Update the CVS tree.
|
||||||
cd /home/aur/cvs
|
# Show a bit of the beginning output.
|
||||||
cvs update -d
|
cd $aurroot/cvs
|
||||||
|
echo "Updating CVS..."
|
||||||
|
cvs update -d 2>&1 | grep "^P\|^U\|repository."
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
# sleep to avoid running into judd's permissions script!!
|
# tupkgupdate <repodir> <cvsdir> <incomingdir>
|
||||||
#sleep 30
|
$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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue