Fix core package format to include repo
If testing is enabled, -Sp will give us testing URLs. Use the $repo/$pkgname format for packages so we get the right files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
f87259b3b8
commit
c2b2a30b81
@ -32,7 +32,8 @@ fi
|
||||
|
||||
[ -d "$DEST" ] || mkdir -p "$DEST"
|
||||
|
||||
PKGS=$(/usr/bin/pacman -Slq $REPO)
|
||||
#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 ' ' '/')
|
||||
|
||||
if [ -n "$PKGS" ]; then
|
||||
baseurl=""
|
||||
|
Loading…
Reference in New Issue
Block a user