Compare commits

...

2 Commits

2 changed files with 18 additions and 17 deletions

3
.gitignore vendored
View File

@ -4,6 +4,9 @@
*.swp
conf/*.conf
*.tar.gz
*.tgz
crontab-*
login-credentials-*

View File

@ -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