feat: Check deps: grep, sort, tar, unzip

This commit is contained in:
Serge Guzik 2019-02-13 13:00:57 +02:00
parent ca98813232
commit 8dc3064128

14
warp4j
View File

@ -130,10 +130,16 @@ THIS_PLATFORM=$(get_this_platform)
# checks if all dependencies are available
function check_deps() {
local deps=("warp-packer" \
"curl" \
"awk" \
"sed")
local deps=(
"awk" \
"curl" \
"grep" \
"sed" \
"sort" \
"tar" \
"unzip" \
"warp-packer" \
)
local missing=()
for d in ${deps[@]}; do
if ! command -v $d &> /dev/null ; then