diff options
-rwxr-xr-x | db-unstable | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/db-unstable b/db-unstable new file mode 100755 index 0000000..7e3431f --- /dev/null +++ b/db-unstable @@ -0,0 +1,19 @@ +#!/bin/bash +# $Id: db-unstable,v 1.1 2003/02/24 00:54:29 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 +$HOME/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 + +rm -rf /tmp/unstable + |