summaryrefslogtreecommitdiff
path: root/db-unstable
blob: 8fa038809d6ac7f9bf40d783fa56d05854533552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# $Id: db-unstable,v 1.4 2003/05/24 00:25:59 judd Exp $

echo "==> Generating pacsync2 Database for UNSTABLE..." >&2
cd /tmp
CVS_RSH=ssh CVSROOT=:ext:cvs.archlinux.org:/home/cvs-unstable cvs -q export -r CURRENT unstable
/usr/bin/gensync /tmp/unstable /tmp/unstable.db.tar.gz
[ -f /tmp/unstable.db.tar.gz ] && mv -f /tmp/unstable.db.tar.gz /home/ftp/unstable

cd /tmp/unstable && /arch/pkgdb 3

rm -rf /tmp/unstable