mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
75bb525d70
commit
8bb242a06c
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user