Update warp-go.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent a23fc24dfe
commit 3ea6e80083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      warp-go.sh

@ -299,7 +299,7 @@ check_dependencies() {
else
DEPS_CHECK=("ping" "wget" "curl" "systemctl" "ip")
DEPS_INSTALL=(" inetutils-ping" " wget" " curl" " systemctl" " iproute2")
for c in "${DEPS_CHECK[@]}"; do ! type -p $c >/dev/null 2>&1 && DEPS+=$c; done
for ((c=0;c<${#DEPS_CHECK[@]};c++)); do ! type -p ${DEPS_CHECK[c]} >/dev/null 2>&1 && DEPS+=${DEPS_INSTALL[c]}; done
if [ -n "$DEPS" ]; then
info "\n $(text 8) $DEPS \n"
${PACKAGE_UPDATE[int]}

Loading…
Cancel
Save