From 547acc2737510cd1ef04f282089ea291f4e53ab2 Mon Sep 17 00:00:00 2001 From: eichehome Date: Tue, 25 Jul 2023 21:00:00 +0200 Subject: [PATCH] Die Bedingungen der einzelnen Ausgaben angepasset. --- test.uefi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.uefi b/test.uefi index 9420c3f..b823b30 100644 --- a/test.uefi +++ b/test.uefi @@ -41,18 +41,18 @@ PARTITIONS_PRESENT+=([ROOT]="${CHECK_ROOT}") echo "ESP: ${CHECK_ESP}, USR: ${CHECK_USR}, USRHASH: ${CHECK_USRHASH}, ROOT: ${CHECK_ROOT}" -if [[ ${PARTITIONS_PRESENT[ROOT]} ]]; then +if [[ ${PARTITIONS_PRESENT[ROOT]} -eq 1 ]]; then echo "Root-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[USR]} ]]; then +if [[ ${PARTITIONS_PRESENT[USR]} -eq 1 ]]; then echo "/usr-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[USRHASH]} ]]; then +if [[ ${PARTITIONS_PRESENT[USRHASH]} -eq 1 ]]; then echo "/usr-Verity-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[ESP]} ]]; then +if [[ ${PARTITIONS_PRESENT[ESP]} -eq 1 ]]; then echo "ESP-Partition vorhanden." fi \ No newline at end of file