feat: Check deps: grep, sort, tar, unzip
This commit is contained in:
parent
ca98813232
commit
8dc3064128
12
warp4j
12
warp4j
@ -130,10 +130,16 @@ THIS_PLATFORM=$(get_this_platform)
|
||||
|
||||
# checks if all dependencies are available
|
||||
function check_deps() {
|
||||
local deps=("warp-packer" \
|
||||
"curl" \
|
||||
local deps=(
|
||||
"awk" \
|
||||
"sed")
|
||||
"curl" \
|
||||
"grep" \
|
||||
"sed" \
|
||||
"sort" \
|
||||
"tar" \
|
||||
"unzip" \
|
||||
"warp-packer" \
|
||||
)
|
||||
local missing=()
|
||||
for d in ${deps[@]}; do
|
||||
if ! command -v $d &> /dev/null ; then
|
||||
|
Loading…
Reference in New Issue
Block a user