Compare commits
2 Commits
304b4a3445
...
fc2cb51517
Author | SHA1 | Date | |
---|---|---|---|
fc2cb51517 | |||
2c3793ca38 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,6 +4,9 @@
|
||||
*.swp
|
||||
conf/*.conf
|
||||
|
||||
*.tar.gz
|
||||
*.tgz
|
||||
|
||||
crontab-*
|
||||
|
||||
login-credentials-*
|
||||
|
@ -1668,27 +1668,25 @@ else
|
||||
echo_ok
|
||||
fi
|
||||
|
||||
#echononl "\033[1mMaybe you want create an initial admin user. continue iby typig\033[m [yes/no]: "
|
||||
#read OK
|
||||
#while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||
# echononl "Wrong entry! - repeat [yes/nno]: "
|
||||
# read OK
|
||||
#done
|
||||
#[[ $OK = "yes" ]] || fatal "Abbruch durch User"
|
||||
|
||||
blank_line
|
||||
echononl "Creates a new and optimized server image.."
|
||||
echo "${KEYCLOAK_BASE_INSTALL_PATH}/keycloak/bin/kc.sh "
|
||||
${KEYCLOAK_BASE_INSTALL_PATH}/keycloak/bin/kc.sh build > "$log_file" 2>&1
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo_failed
|
||||
error "$(cat "$log_file")"
|
||||
|
||||
echononl "\033[1mcontinue anyway\033[m [yes/no]: "
|
||||
read OK
|
||||
while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||
echononl "Wrong entry! - repeat [yes/nno]: "
|
||||
read OK
|
||||
done
|
||||
[[ $OK = "yes" ]] || fatal "Abbruch durch User"
|
||||
|
||||
else
|
||||
echo_ok
|
||||
fi
|
||||
|
||||
#blank_line
|
||||
#echononl "\033[1mcontinue anyway\033[m [yes/no]: "
|
||||
#read OK
|
||||
#while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||
# echononl "Wrong entry! - repeat [yes/nno]: "
|
||||
# read OK
|
||||
#done
|
||||
#[[ $OK = "yes" ]] || fatal "Abbruch durch User"
|
||||
blank_line
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user