Bedingung zum Output hinzugefügt.

This commit is contained in:
eichehome 2023-07-25 23:30:25 +02:00
parent f36f3cd9e9
commit 92d1f7d3b2

View file

@ -64,20 +64,22 @@ else
echo " Fehlende Partitionen:" echo " Fehlende Partitionen:"
for part in "${!PARTITIONS_PRESENT[@]}"; do for part in "${!PARTITIONS_PRESENT[@]}"; do
echo "- $part" echo "- $part"
case $part in if [[ ${PARTITIONS_PRESENT[$part]} -eq 0 ]]; then
"ROOT" ) case $part in
echo " - Root-Partition" "ROOT" )
;; echo " - Root-Partition"
"USR" ) ;;
echo " - /usr-Partition" "USR" )
;; echo " - /usr-Partition"
"USRHASH" ) ;;
echo " - /usr-Verity-Partition" "USRHASH" )
;; echo " - /usr-Verity-Partition"
"ESP" ) ;;
echo " - ESP-Partition" "ESP" )
;; echo " - ESP-Partition"
esac ;;
esac
fi
done done
echo "" echo ""
echo " ==================================================================================" echo " =================================================================================="