mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-13 18:25:17 -07:00
Merge pull request #61 from qi777xj/master
Make aria2 use the absolute path
This commit is contained in:
commit
2e7e04a537
7
kiss
7
kiss
@ -431,9 +431,10 @@ pkg_source_url() {
|
||||
|
||||
# Set the arguments based on found download utility.
|
||||
case ${cmd_get##*/} in
|
||||
aria2c|axel) set -- -o "$@" ;;
|
||||
curl) set -- -fLo "$@" ;;
|
||||
wget|wget2) set -- -O "$@" ;;
|
||||
aria2c) set -- -d / -o "$@" ;;
|
||||
axel) set -- -o "$@" ;;
|
||||
curl) set -- -fLo "$@" ;;
|
||||
wget|wget2) set -- -O "$@" ;;
|
||||
esac
|
||||
|
||||
"$cmd_get" "$@" || {
|
||||
|
Loading…
Reference in New Issue
Block a user