chore(install): remove the unnecessary validations

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2022-01-17 02:53:31 +05:30
parent 39ae351b6b
commit bb497eed5d

View file

@ -70,16 +70,6 @@ randomPass() {
## Prepping the infra ## Prepping the infra
## Don't override existing variables file.
[[ -f vars.yaml ]] && {
warn "Existing Variables file. Not downloading."
}|| {
info " Downloading vars file"
curl -L -O vars.yaml https://raw.githubusercontent.com/rjshrjndrn/openreplay/${version="v1.4.0"
}
[[ -z $DOMAIN_NAME ]] && { [[ -z $DOMAIN_NAME ]] && {
fatal 'DOMAIN_NAME variable is empty. Rerun the script `DOMAIN_NAME=openreplay.mycomp.org bash init.sh `' fatal 'DOMAIN_NAME variable is empty. Rerun the script `DOMAIN_NAME=openreplay.mycomp.org bash init.sh `'
} }