Make aria2 use the absolute path

This commit is contained in:
jellybean 2022-08-08 05:42:23 +00:00 committed by GitHub
parent 6887884127
commit d47508c04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
kiss
View File

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