V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 43s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 43s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -103,7 +103,7 @@ END { print max }
|
|||||||
### Check, if the partition is a number and higher than the current value
|
### Check, if the partition is a number and higher than the current value
|
||||||
if [[ "${var_partition}" =~ ^[0-9]+$ ]]; then
|
if [[ "${var_partition}" =~ ^[0-9]+$ ]]; then
|
||||||
|
|
||||||
if [[ -z "${HMP_RECIPE_DEV_PARTITIONS[${var_device}]}" || "${var_partition}" -gt ${HMP_RECIPE_DEV_PARTITIONS[${var_device}]} ]]; then
|
if [[ -z "${HMP_RECIPE_DEV_PARTITIONS[${var_device}]:-}" || "${var_partition}" -gt ${HMP_RECIPE_DEV_PARTITIONS[${var_device}]:-0} ]]; then
|
||||||
# shellcheck disable=SC2004
|
# shellcheck disable=SC2004
|
||||||
HMP_RECIPE_DEV_PARTITIONS[${var_device}]="${var_partition}"
|
HMP_RECIPE_DEV_PARTITIONS[${var_device}]="${var_partition}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ pre_scan_debug() {
|
|||||||
for i in "${!args[@]}"; do
|
for i in "${!args[@]}"; do
|
||||||
if [[ "${args[i]}" == "-d" || "${args[i]}" == "--debug" ]]; then
|
if [[ "${args[i]}" == "-d" || "${args[i]}" == "--debug" ]]; then
|
||||||
dbg_index=${i}
|
dbg_index=${i}
|
||||||
declare -grx LOG_VAR="{DIR_LOG}/ciss_debian_installer_$$_var.log"
|
declare -grx LOG_VAR="${DIR_LOG}/ciss_debian_installer_$$_var.log"
|
||||||
touch "${LOG_VAR}" && chmod 0600 "${LOG_VAR}"
|
touch "${LOG_VAR}" && chmod 0600 "${LOG_VAR}"
|
||||||
dump_vars_initial
|
dump_vars_initial
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user