Fix dependency check
Moved dependency check to the start of the script
This commit is contained in:
parent
09829ab1b6
commit
5b5adaec7c
1 changed files with 4 additions and 4 deletions
8
start.sh
8
start.sh
|
@ -7,7 +7,7 @@
|
|||
# and acknowledge the original script and author. #
|
||||
#############################################################################################################
|
||||
|
||||
CURRENT_VERSION="v1.0.2"
|
||||
CURRENT_VERSION="v1.0.3"
|
||||
|
||||
# --------------------------------------------------
|
||||
# You shouldn't need to change anything in this file
|
||||
|
@ -476,15 +476,15 @@ function load_config {
|
|||
|
||||
# Main function
|
||||
function main {
|
||||
# Check dependencies
|
||||
check_dependencies
|
||||
|
||||
# Check for script updates
|
||||
check_self_update
|
||||
|
||||
# Load config
|
||||
load_config
|
||||
|
||||
# Check dependencies
|
||||
check_dependencies
|
||||
|
||||
# Check if the version and build are valid
|
||||
check_version_valid
|
||||
|
||||
|
|
Loading…
Reference in a new issue