summaryrefslogtreecommitdiff
path: root/configs/syslinux-iso
diff options
context:
space:
mode:
Diffstat (limited to 'configs/syslinux-iso')
-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"