1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-09-28 12:22:39 -06:00

Merge pull request #61 from qi777xj/master

Make aria2 use the absolute path
This commit is contained in:
Owen Rafferty 2022-08-11 14:14:03 -05:00 committed by GitHub
commit 2e7e04a537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
kiss
View File

@ -431,9 +431,10 @@ pkg_source_url() {
# Set the arguments based on found download utility. # Set the arguments based on found download utility.
case ${cmd_get##*/} in case ${cmd_get##*/} in
aria2c|axel) set -- -o "$@" ;; aria2c) set -- -d / -o "$@" ;;
curl) set -- -fLo "$@" ;; axel) set -- -o "$@" ;;
wget|wget2) set -- -O "$@" ;; curl) set -- -fLo "$@" ;;
wget|wget2) set -- -O "$@" ;;
esac esac
"$cmd_get" "$@" || { "$cmd_get" "$@" || {