summaryrefslogtreecommitdiffstats
path: root/db-unstable
blob: 4d76d9e44f3c866445e45e45d8caac1782aa7731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# $Id: db-unstable,v 1.2 2003/05/21 23:07:33 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

echo "==> Rebuilding HTML Package List..." >&2
cd /tmp/unstable
rm -f packages.txt
/arch/htmlpkglist unstable
cp -f pkgs_unstable_name.html /home/sites/archlinux/htdocs/pkglists
cp -f pkgs_unstable_cat.html /home/sites/archlinux/htdocs/pkglists
rm pkgs_unstable_name.html pkgs_unstable_cat.html
/arch/pkgdb 3

rm -rf /tmp/unstable