From 8dc306412803b9a0b660cf4bc6abb72fed1dc535 Mon Sep 17 00:00:00 2001 From: Serge Guzik Date: Wed, 13 Feb 2019 13:00:57 +0200 Subject: [PATCH] feat: Check deps: grep, sort, tar, unzip --- warp4j | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/warp4j b/warp4j index 3ec39be..36b239f 100755 --- a/warp4j +++ b/warp4j @@ -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