From 543c4e812bcc6df5d8e437b4accfbc7e1a273534 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sat, 3 Jul 2004 20:28:11 +0000 Subject: updated scripts for new ftp paths, moved over to pkgdb1/pkgdb2 --- db-unstable | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'db-unstable') diff --git a/db-unstable b/db-unstable index 6e0efa5..0ab9983 100755 --- a/db-unstable +++ b/db-unstable @@ -1,5 +1,5 @@ #!/bin/bash -# $Id: db-unstable,v 1.10 2004/04/01 21:09:13 judd Exp $ +# $Id: db-unstable,v 1.11 2004/07/03 20:28:11 judd Exp $ uid=`id -u` repoid=3 @@ -43,10 +43,12 @@ if [ -d /tmp/.gensync ]; then echo "error: someone else is currently running gensync!" exit 1 fi -/usr/bin/gensync $TMPDIR/unstable $TMPDIR/unstable.db.tar.gz /home/ftp/unstable -[ -f $TMPDIR/unstable.db.tar.gz ] && mv -f $TMPDIR/unstable.db.tar.gz /home/ftp/unstable +/usr/bin/gensync $TMPDIR/unstable $TMPDIR/unstable.db.tar.gz /home/ftp/unstable/os/i686 +[ -f $TMPDIR/unstable.db.tar.gz ] && mv -f $TMPDIR/unstable.db.tar.gz /home/ftp/unstable/os/i686 -cd $TMPDIR/unstable && /arch/pkgdb $repoid +echo "==> Scanning for New/Updated/Deleted packages..." >&2 +cd $TMPDIR/unstable +/arch/pkgdb1 $repoid | /arch/pkgdb2 $repoid echo "==> Scanning for missing packages..." >&2 /arch/genpkglist unstable -- cgit v1.2.3-2-g168b