summaryrefslogtreecommitdiffstats
path: root/db-arch
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-07-01 21:41:21 +0200
committerJudd Vinet <judd@archlinux.org>2004-07-01 21:41:21 +0200
commit93e510e081756fb2aebc9079a52cd9a046fae69b (patch)
treed6461315a80922601fe7a7950801d4c2babcf9e0 /db-arch
parentaf7a8885d8095ac78c8d4f4a5f183bb038c5e17a (diff)
downloaddbscripts-93e510e081756fb2aebc9079a52cd9a046fae69b.tar.gz
dbscripts-93e510e081756fb2aebc9079a52cd9a046fae69b.tar.xz
added new pkgdb scripts
Diffstat (limited to 'db-arch')
-rwxr-xr-xdb-arch6
1 files changed, 4 insertions, 2 deletions
diff --git a/db-arch b/db-arch
index 723cd46..3dbd3dc 100755
--- a/db-arch
+++ b/db-arch
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-arch,v 1.16 2004/04/13 02:26:39 judd Exp $
+# $Id: db-arch,v 1.17 2004/07/01 19:41:21 judd Exp $
uid=`id -u`
repoid=1
@@ -46,7 +46,9 @@ fi
/usr/bin/gensync $TMPDIR/arch/build $TMPDIR/current.db.tar.gz /home/ftp/current
[ -f $TMPDIR/current.db.tar.gz ] && mv -f $TMPDIR/current.db.tar.gz /home/ftp/current
-cd $TMPDIR/arch/build && /arch/pkgdb $repoid
+echo "==> Scanning for New/Updated/Deleted packages..." >&2
+cd $TMPDIR/arch/build
+/arch/pkgdb1 $repoid | /arch/pkgdb2 $repoid
echo "==> Generating Text Package List..." >&2
/arch/genpkglist current