Fix dependency check

Moved dependency check to the start of the script
This commit is contained in:
Jiří Štefka 2023-02-23 09:46:04 +01:00 committed by GitHub
parent 09829ab1b6
commit 5b5adaec7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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