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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-24 20:58:50 +01:00
parent ffb20a7342
commit 17bf5ca5fc
88 changed files with 104 additions and 99 deletions

View File

@@ -187,7 +187,7 @@ Acquire::Retries "3";
EOF
sed -i -E 's|^([[:space:]]*)#+|\1//|' "${var_target}/etc/apt/apt.conf.d/91-acquire"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -184,7 +184,7 @@ Acquire::Retries "3";
EOF
sed -i -E 's|^([[:space:]]*)#+|\1//|' "${var_target}/etc/apt/apt.conf.d/91-acquire"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -78,7 +78,7 @@ update_sources() {
fi
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -42,7 +42,7 @@ installation_kernel() {
do_log "info" "file_only" "4120() Kernel image: '${VAR_KERNEL}' installed successfully."
guard_dir && return 0
guard_dir; return 0
else
@@ -54,7 +54,7 @@ installation_kernel() {
do_log "info" "file_only" "4120() Kernel image: '${image}' installed successfully."
guard_dir && return 0
guard_dir; return 0
fi
}

View File

@@ -98,7 +98,7 @@ EOF
RESUME=none
EOF
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -103,7 +103,7 @@ installation_toolset() {
fi
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -49,7 +49,7 @@ installation_systemd() {
systemctl --version 2>&1 | tee -a ${var_logfile} | grep -qi 'systemd' || echo '[WARN]: systemd not verifiable' >> ${var_logfile}
"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -33,7 +33,7 @@ installation_machineid() {
fi
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -32,7 +32,7 @@ installation_masking() {
"
do_log "info" "file_only" "4133() Masked: [plymouth-start.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service]"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -76,7 +76,7 @@ installation_microcode() {
fi
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -298,7 +298,7 @@ installation_firmware() {
apt-get install -y --no-install-recommends --no-install-suggests ${ary_pkgs_resolved[*]} 2>&1 | tee -a ${var_logfile}
"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -77,7 +77,7 @@ installation_chrony() {
rm -f "${var_of}"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -54,7 +54,7 @@ EOF
apt-get install -y --no-install-recommends --no-install-suggests eza 2>&1 | tee -a ${var_logfile}
"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034

View File

@@ -54,7 +54,7 @@ EOF
apt-get install -y --no-install-recommends --no-install-suggests lynis 2>&1 | tee -a ${var_logfile}
"
guard_dir && return 0
guard_dir; return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034