summaryrefslogtreecommitdiffstats
path: root/support/scripts/run-tupkgupdate
blob: 01575dc63cde3299572f8a5c98887c61012252aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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