diff --git a/kfg b/kfg index b38ce6b..311c56f 100644 --- a/kfg +++ b/kfg @@ -183,10 +183,10 @@ function download { local _path=$2 local _result - if check_cmd curl; then - _dld=curl - elif check_cmd wget; then + if check_cmd wget; then _dld=wget + elif check_cmd curl; then + _dld=curl else need_cmd 'curl or wget' fi