index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Karol Blazewicz <karol.blazewicz@gmail.com> | 2013-06-17 23:48:39 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-18 12:55:57 +1000 |
commit | cd421c83832adb0a81a8a5b5c3d0ad3cd91c2adb (patch) | |
tree | 5aa668a64a9087d663d6ce2f06907c221de88a57 | |
parent | 85fde7038f6cf3fdfb688dfecf60dc3ca5dd03ab (diff) |
-rw-r--r-- | contrib/pacscripts.sh.in | 4 |
diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh.in index 368e0850..62c4e35b 100644 --- a/contrib/pacscripts.sh.in +++ b/contrib/pacscripts.sh.in @@ -114,10 +114,10 @@ print_scriptlet() { error "Package $1 not found" return 1 fi - url=$(spacman -Sdp $1 | tail -n1) + url=$(pacman -Sddp $1) filename=$(basename $url) if [ ! -f "$pac_cache/$filename" ]; then - if ! spacman -Sdw --noconfirm $1 >&2; then + if ! spacman -Sddw --noconfirm $1 >&2; then error "Failed to download $1" return 1 fi |