summaryrefslogtreecommitdiff
path: root/configs/install-iso/download-repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/install-iso/download-repo.sh')
-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=""