Ensure download-repo syncs pacman DBs first
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
9b775f152c
commit
29c11da409
1 changed files with 3 additions and 0 deletions
|
@ -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 ' ' '/')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue