From c2b2a30b81c7be718e6c2de8114f3b648ee875e9 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 20 Jan 2009 00:33:38 -0600 Subject: 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 --- configs/install-iso/download-repo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/install-iso/download-repo.sh b/configs/install-iso/download-repo.sh index 31a3c79..35029fe 100755 --- a/configs/install-iso/download-repo.sh +++ b/configs/install-iso/download-repo.sh @@ -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="" -- cgit v1.2.3-70-g09d2