Fix the server type failsafe
This commit is contained in:
parent
f446eadde4
commit
e31a66529a
2 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
EXTRA_SCRIPTS_VERSION="v2.1.0"
|
EXTRA_SCRIPTS_VERSION="v2.1.1"
|
||||||
|
|
8
msman.sh
8
msman.sh
|
@ -8,7 +8,7 @@ set -e
|
||||||
# and acknowledge the original script and author. #
|
# and acknowledge the original script and author. #
|
||||||
#############################################################################################################
|
#############################################################################################################
|
||||||
|
|
||||||
CURRENT_SCRIPT_VERSION="v2.1.0"
|
CURRENT_SCRIPT_VERSION="v2.1.1"
|
||||||
|
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
# You shouldn't need to change anything in this file
|
# You shouldn't need to change anything in this file
|
||||||
|
@ -473,14 +473,14 @@ function main {
|
||||||
# Get the current server file, version and build
|
# Get the current server file, version and build
|
||||||
load_script
|
load_script
|
||||||
|
|
||||||
|
# Gets the installed server info
|
||||||
|
get_existing_server
|
||||||
|
|
||||||
# Check if the server type differs from the one in the config
|
# Check if the server type differs from the one in the config
|
||||||
if [[ $existing_server_type != $server_type ]]; then
|
if [[ $existing_server_type != $server_type ]]; then
|
||||||
ask_server_differs
|
ask_server_differs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Gets the installed server info
|
|
||||||
get_existing_server
|
|
||||||
|
|
||||||
# Check if the version and build are valid
|
# Check if the version and build are valid
|
||||||
check_version_valid
|
check_version_valid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue