Ensure download-repo syncs pacman DBs first

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2009-01-20 13:09:33 -06:00
parent 9b775f152c
commit 29c11da409

View file

@ -32,6 +32,9 @@ fi
[ -d "$DEST" ] || mkdir -p "$DEST"
#update repos
/usr/bin/pacman -Sy
#Ensure we have core/pkgname format, so we don't get crap from other repos
PKGS=$(/usr/bin/pacman -Sl $REPO | cut -d' ' -f1,2 | tr ' ' '/')