Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso/download-repo.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-06-28 23:51:19 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-06-28 23:51:19 -0300
commit383fcb596f1cac763e92964d419be68df79facf3 (patch)
tree6759e93c7a51cdfdd98149b04aeda0ebdc811a5d /configs/syslinux-iso/download-repo.sh
parent9be04c4b417948b3b15ae2ca0d0267af73502507 (diff)
[syslinux-iso] download-repo.sh only download packages from specified repo
Fixes FS#18733 http://bugs.archlinux.org/task/18733 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/syslinux-iso/download-repo.sh')
-rwxr-xr-xconfigs/syslinux-iso/download-repo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/syslinux-iso/download-repo.sh b/configs/syslinux-iso/download-repo.sh
index 800d49a..8655a8d 100755
--- a/configs/syslinux-iso/download-repo.sh
+++ b/configs/syslinux-iso/download-repo.sh
@@ -43,7 +43,7 @@ PKGS=$(/usr/bin/pacman -Sl $REPO | cut -d' ' -f1,2 | tr ' ' '/')
if [ -n "$PKGS" ]; then
baseurl=""
cachedir="/var/cache/pacman/pkg"
- for url in $(/usr/bin/pacman -Sp $PKGS | grep '://'); do
+ for url in $(/usr/bin/pacman -Sdp $PKGS | grep '://'); do
baseurl="$(dirname "$url")" #save for later
pkgname="$(basename "$url")"
cachedpkg="$cachedir/$pkgname"