From 462d256b2523b7fe08bdb33311b9237244cb119b Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 26 Jul 2023 01:13:22 +0200 Subject: [PATCH] =?UTF-8?q?Statement=20zum=20Checken=20der=20Partitionen?= =?UTF-8?q?=20ge=C3=A4ndert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.uefi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.uefi b/test.uefi index e264a3d..67c2fed 100644 --- a/test.uefi +++ b/test.uefi @@ -27,7 +27,7 @@ fi declare -A PARTITIONS_PRESENT=() -CHECK_PARTITIONS_OUTPUT=$(lsblk -pldo NAME,PARTTYPE "${DRIVE}[0-9]") +CHECK_PARTITIONS_OUTPUT=$(lsblk -plo NAME,PARTTYPE | grep -i "${DRIVE}[0-9]") CHECK_ESP=$(echo "${CHECK_PARTITIONS_OUTPUT}" | grep -c "c12a7328-f81f-11d2-ba4b-00a0c93ec93b") PARTITIONS_PRESENT+=([ESP]="${CHECK_ESP}")