diff --git a/scripts/helm/install.sh b/scripts/helm/install.sh index 0650af991..ad69709b3 100755 --- a/scripts/helm/install.sh +++ b/scripts/helm/install.sh @@ -17,15 +17,17 @@ domain_name=`grep domain_name vars.yaml | grep -v "example" | cut -d " " -f2 | c } } -[[ $1 == "ee" ]] || { +[[ $1 == "ee" ]] && { [[ $2 == "" ]] || { sed -i "s#enterprise_edition_license.*#enterprise_edition_license: ${2}#g" vars.yaml } && { - echo """Enerprise key is missing. + echo """Enerprise edition license key is missing. Usage: ./install.sh ee XXXXXXXXXXXXX """ exit 1 } + # Resetting command line arguments. + shift 2 } # https://parrot.asayer.io/os/license