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