summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-10-12 20:42:55 +0200
committerJudd Vinet <judd@archlinux.org>2003-10-12 20:42:55 +0200
commita1f715792fe75aba32625d998f8d6a27605704bc (patch)
treea41da4aa53069358ec15a64c6580eed9104f671c
parentfdf319926e30942672a3cc57ad6f1bc173d81a6d (diff)
downloaddbscripts-a1f715792fe75aba32625d998f8d6a27605704bc.tar.gz
dbscripts-a1f715792fe75aba32625d998f8d6a27605704bc.tar.xz
updated db generation scripts to use genpkglist
-rwxr-xr-xdb-arch4
-rwxr-xr-xdb-unstable5
2 files changed, 6 insertions, 3 deletions
diff --git a/db-arch b/db-arch
index 74fa5ed..587aaeb 100755
--- a/db-arch
+++ b/db-arch
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-arch,v 1.10 2003/08/16 23:56:46 judd Exp $
+# $Id: db-arch,v 1.11 2003/10/12 18:42:55 judd Exp $
uid=`id -u`
TMPDIR="/tmp/archpkg.$uid"
@@ -31,7 +31,7 @@ CVS_RSH=ssh CVSROOT=:ext:cvs.archlinux.org:/home/cvs-arch cvs -q export -r CURRE
cd $TMPDIR/arch/build && /arch/pkgdb 1
echo "==> Generating Text Package List..." >&2
-/arch/genpkglist
+/arch/genpkglist current
mv packages.txt /home/ftp/current/setup/packages.txt
rm -rf $TMPDIR
diff --git a/db-unstable b/db-unstable
index 93ea565..c6471ef 100755
--- a/db-unstable
+++ b/db-unstable
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-unstable,v 1.6 2003/08/16 23:56:46 judd Exp $
+# $Id: db-unstable,v 1.7 2003/10/12 18:42:55 judd Exp $
uid=`id -u`
TMPDIR="/tmp/archpkg.$uid"
@@ -30,6 +30,9 @@ CVS_RSH=ssh CVSROOT=:ext:cvs.archlinux.org:/home/cvs-unstable cvs -q export -r C
cd $TMPDIR/unstable && /arch/pkgdb 3
+echo "==> Scanning for missing packages..." >&2
+/arch/genpkglist unstable
+
rm -rf $TMPDIR
# unlock
rm -f /tmp/.repolck.$repoid