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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-06 20:28:46 +02:00
parent 6c6f1236c9
commit 1319f93ac1
2 changed files with 13 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ guard_sourcing
# None # None
####################################### #######################################
check_pkgs() { check_pkgs() {
apt-get update -y #> /dev/null 2>&1 apt-get update -y > /dev/null 2>&1
# TODO: Only activate in case CISS.debian.live.builder does not include the following packages as per default. # TODO: Only activate in case CISS.debian.live.builder does not include the following packages as per default.
### Define HashMap: command -> package ### Define HashMap: command -> package
@@ -62,19 +62,19 @@ check_pkgs() {
# fi # fi
#done #done
#if [[ -z "$(command -v debootstrap || true)" ]]; then if [[ -z "$(command -v debootstrap || true)" ]]; then
# if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then
# # shellcheck disable=SC2155 # shellcheck disable=SC2155
# declare codename=$(lsb_release -sc) declare codename=$(lsb_release -sc)
# apt-get install -y -t "${codename}-backports" debootstrap apt-get install -y -t "${codename}-backports" debootstrap
# else else
# apt-get install -y debootstrap apt-get install -y debootstrap
# fi fi
#fi fi
#if [[ -z "$(command -v dialog || true)" ]]; then if [[ -z "$(command -v dialog || true)" ]]; then
# if ! "${VAR_AUTO_INSTALL}"; then apt-get install -y --no-install-recommends dialog; fi if ! "${VAR_AUTO_INSTALL}"; then apt-get install -y --no-install-recommends dialog; fi
#fi fi
return 0 return 0
} }

View File

@@ -149,8 +149,6 @@ EOF
done done
declare -gx VAR_IN_DIALOG_WR="false" declare -gx VAR_IN_DIALOG_WR="false"
# shellcheck disable=SC2312
cat "${VAR_DIALOG}" | tail -n 64
return 0 return 0
} }