forked from kiss-community/kiss
Make aria2 use the absolute path
This commit is contained in:
parent
6887884127
commit
d47508c04d
7
kiss
7
kiss
@ -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" "$@" || {
|
||||||
|
Loading…
Reference in New Issue
Block a user