mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
17 lines
398 B
Bash
Executable file
17 lines
398 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
|
|
|