Browse Source

remove check jq

dnsconf
temoffey 6 years ago
parent
commit
df9174577a
  1. 5
      deploy/gcore_cdn.sh

5
deploy/gcore_cdn.sh

@ -53,11 +53,6 @@ gcore_cdn_deploy() {
_savedomainconf Le_Deploy_gcore_cdn_password "$Le_Deploy_gcore_cdn_password" _savedomainconf Le_Deploy_gcore_cdn_password "$Le_Deploy_gcore_cdn_password"
fi fi
if ! [ -x "$(command -v jq)" ]; then
_err "Please install the package jq: sudo apt-get install jq"
return 1
fi
_info "Get authorization token" _info "Get authorization token"
_request="{\"username\":\"$Le_Deploy_gcore_cdn_username\",\"password\":\"$Le_Deploy_gcore_cdn_password\"}" _request="{\"username\":\"$Le_Deploy_gcore_cdn_username\",\"password\":\"$Le_Deploy_gcore_cdn_password\"}"
_debug _request "$_request" _debug _request "$_request"

Loading…
Cancel
Save