mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Grep CVS update output for only useful messages. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
17 lines
399 B
Bash
Executable file
17 lines
399 B
Bash
Executable file
#!/bin/bash
|
|
|
|
aurroot=/srv/http/sites/aur
|
|
|
|
echo "--------------------"
|
|
date
|
|
|
|
# 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 -
|
|
|
|
# tupkgupdate <repodir> <cvsdir> <incomingdir>
|
|
$aurroot/aur/tupkg/update/tupkgupdate --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full
|
|
|