V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m36s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-06 22:10:23 +02:00
parent 74442cf1ba
commit 541f4afa38
49 changed files with 431 additions and 388 deletions

View File

@@ -38,16 +38,16 @@
[[ ${BASH_VERSINFO[0]} -le 5 ]] && [[ ${BASH_VERSINFO[1]} -le 1 ]] && {
. ./var/errors.var.sh; printf "\e[91m❌ Minimum requirement is bash 5.1. You are using '%s'! Bye... \e[0m\n" "${BASH_VERSION}" >&2; exit "${ERR_UNSUPPORTED_BASH}"; }
[[ ${#} -eq 0 ]] && {
. ./lib/1000_usage.sh; usage >&2; exit 1; }
. ./lib/0000_usage.sh; usage >&2; exit 1; }
### SOURCING MUST SET EARLY VARIABLES AND GUARD_SOURCING()
. ./var/early.var.sh
. ./lib/1007_guard_sourcing.sh
. ./lib/0010_guard_sourcing.sh
### CHECK FOR CONTACT, HELP, AND VERSION STRING
for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/1001_contact.sh; contact; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -h|--help) . ./lib/1000_usage.sh; usage; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -v|--version) . ./lib/1002_version.sh; version; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/0001_contact.sh; contact; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -h|--help) . ./lib/0000_usage.sh; usage; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -v|--version) . ./lib/0002_version.sh; version; exit 0;; esac; done
### ALL CHECKS DONE. READY TO START THE SCRIPT
declare -grx VAR_SETUP="true"
@@ -56,13 +56,13 @@ declare -grx VAR_SETUP="true"
for arg in "$@"; do case "${arg,,}" in -a|--autoinstall) declare -gx VAR_AUTO_INSTALL="true";; esac; done; unset arg
### CHECKING REQUIRED PACKAGES
. ./lib/1010_check_pkgs.sh
. ./lib/1011_check_git.sh
. ./lib/0030_check_pkgs.sh
. ./lib/0031_check_git.sh
check_pkgs
check_git
### PRE SCAN FOR DEBUG MODE
. ./lib/1015_debug_pre_scan.sh
. ./lib/0050_debug_pre_scan.sh
pre_scan_debug "$@"
### ADVISORY LOCK
@@ -99,7 +99,7 @@ gen_dir_files
### Dialog Output for Initialization
if ! $VAR_AUTO_INSTALL; then . ./lib/1050_dialog_helper.sh && dialog_gauge; fi
if ! $VAR_AUTO_INSTALL; then . ./lib/0200_dialog_helper.sh && dialog_gauge; fi