Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-12-03 10:39:29 +01:00 committed by GitHub
parent 75bb525d70
commit 8bb242a06c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,7 +151,7 @@ install_started_message(){
# Display error and exit
radovan() {
#printf >&2 "%s\n\n" "${TPUT_BGRED}${TPUT_WHITE}${TPUT_BOLD} FAILED ${TPUT_RESET}"
printf >&2 "%s\n\n" "${TPUT_BGRED}${TPUT_WHITE}${TPUT_BOLD} FAILED ${TPUT_RESET}"
echo -e "Error: $2$" >&2
exit 1
}
@ -226,7 +226,7 @@ set_version_to_install(){
if [[ $PANEL_VERSION =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
PANEL_VERSION=$PANEL_VERSION
else
PANEL_VERSION="0.3.7"
PANEL_VERSION="0.3.6"
fi
fi
}
@ -1594,7 +1594,7 @@ setup_bind(){
if [ -f "$RNDC_KEY_PATH" ]; then
echo "rndc.key successfully generated."
else
radovan 1 "Failed to generate rndc.key after $RETRY_COUNT_RDNC attempts. Exiting."
radovan 1 "Failed to generate rndc.key after $RETRY_LIMIT attempts. Exiting."
fi
else
echo "rndc.key already exists."