Fix dependency check
Moved dependency check to the start of the script
This commit is contained in:
parent
09829ab1b6
commit
5b5adaec7c
8
start.sh
8
start.sh
@ -7,7 +7,7 @@
|
|||||||
# and acknowledge the original script and author. #
|
# 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
|
# You shouldn't need to change anything in this file
|
||||||
@ -476,15 +476,15 @@ function load_config {
|
|||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
function main {
|
function main {
|
||||||
|
# Check dependencies
|
||||||
|
check_dependencies
|
||||||
|
|
||||||
# Check for script updates
|
# Check for script updates
|
||||||
check_self_update
|
check_self_update
|
||||||
|
|
||||||
# Load config
|
# Load config
|
||||||
load_config
|
load_config
|
||||||
|
|
||||||
# Check dependencies
|
|
||||||
check_dependencies
|
|
||||||
|
|
||||||
# Check if the version and build are valid
|
# Check if the version and build are valid
|
||||||
check_version_valid
|
check_version_valid
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user