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:"
for part in "${!PARTITIONS_PRESENT[@]}"; do
echo "- $part"
case $part in
"ROOT" )
echo " - Root-Partition"
;;
"USR" )
echo " - /usr-Partition"
;;
"USRHASH" )
echo " - /usr-Verity-Partition"
;;
"ESP" )
echo " - ESP-Partition"
;;
esac
if [[ ${PARTITIONS_PRESENT[$part]} -eq 0 ]]; then
case $part in
"ROOT" )
echo " - Root-Partition"
;;
"USR" )
echo " - /usr-Partition"
;;
"USRHASH" )
echo " - /usr-Verity-Partition"
;;
"ESP" )
echo " - ESP-Partition"
;;
esac
fi
done
echo ""
echo " =================================================================================="