Update 'kfg'
This commit is contained in:
6
kfg
6
kfg
@@ -183,10 +183,10 @@ function download {
|
|||||||
local _path=$2
|
local _path=$2
|
||||||
local _result
|
local _result
|
||||||
|
|
||||||
if check_cmd curl; then
|
if check_cmd wget; then
|
||||||
_dld=curl
|
|
||||||
elif check_cmd wget; then
|
|
||||||
_dld=wget
|
_dld=wget
|
||||||
|
elif check_cmd curl; then
|
||||||
|
_dld=curl
|
||||||
else
|
else
|
||||||
need_cmd 'curl or wget'
|
need_cmd 'curl or wget'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user