summaryrefslogtreecommitdiff
path: root/configs/install-iso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-20 00:33:38 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-20 00:33:38 -0600
commitc2b2a30b81c7be718e6c2de8114f3b648ee875e9 (patch)
tree3788e836073b36f6cc8f055f6fe11e79ba79c3aa /configs/install-iso
parentf87259b3b839b46aacd23cb6dda57d9f96a2e79d (diff)
downloadarchiso32-c2b2a30b81c7be718e6c2de8114f3b648ee875e9.tar.xz
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>
Diffstat (limited to 'configs/install-iso')
-rwxr-xr-xconfigs/install-iso/download-repo.sh3
1 files changed, 2 insertions, 1 deletions
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=""