summaryrefslogtreecommitdiffstats
path: root/db-extra
diff options
context:
space:
mode:
Diffstat (limited to 'db-extra')
-rwxr-xr-xdb-extra10
1 files changed, 6 insertions, 4 deletions
diff --git a/db-extra b/db-extra
index 204366f..689ac3f 100755
--- a/db-extra
+++ b/db-extra
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-extra,v 1.5 2004/04/01 21:09:13 judd Exp $
+# $Id: db-extra,v 1.6 2004/07/03 20:28:11 judd Exp $
uid=`id -u`
repoid=2
@@ -43,10 +43,12 @@ if [ -d /tmp/.gensync ]; then
echo "error: someone else is currently running gensync!"
exit 1
fi
-/usr/bin/gensync $TMPDIR/extra $TMPDIR/extra.db.tar.gz /home/ftp/extra
-[ -f $TMPDIR/extra.db.tar.gz ] && mv -f $TMPDIR/extra.db.tar.gz /home/ftp/extra
+/usr/bin/gensync $TMPDIR/extra $TMPDIR/extra.db.tar.gz /home/ftp/extra/os/i686
+[ -f $TMPDIR/extra.db.tar.gz ] && mv -f $TMPDIR/extra.db.tar.gz /home/ftp/extra/os/i686
-cd $TMPDIR/extra && /arch/pkgdb $repoid
+echo "==> Scanning for New/Updated/Deleted packages..." >&2
+cd $TMPDIR/extra
+/arch/pkgdb1 $repoid | /arch/pkgdb2 $repoid
echo "==> Scanning for missing packages..." >&2
/arch/genpkglist extra