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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-06-19 07:22:30 +02:00
parent 8d598d7d69
commit 250b8ba0c6
4 changed files with 75 additions and 55 deletions

View File

@@ -52,7 +52,7 @@ check_kernel() {
done < "${VAR_KERNEL_SRT}"
# shellcheck disable=SC2155
if declare -g VAR_KERNEL=$(dialog \
if declare -gx VAR_KERNEL=$(dialog \
--no-collapse \
--ascii-lines \
--clear \
@@ -63,9 +63,9 @@ check_kernel() {
else
clear
if [[ "${VAR_ARCHITECTURE}" == "amd64" ]]; then
declare -gr VAR_KERNEL="amd64"
declare -gx VAR_KERNEL="amd64"
elif [[ "${VAR_ARCHITECTURE}" == "arm64" ]]; then
declare -gr VAR_KERNEL="arm64"
declare -gx VAR_KERNEL="arm64"
fi
fi
}