Bei den Input-Statments die richtige option hinzugefügt.
This commit is contained in:
parent
9668f9d761
commit
e2f41d724f
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ CHECK_ESP=$(echo "${CHECK_PARTITIONS_OUTPUT}" | grep -c "c12a7328-f81f-11d2-ba4b
|
|||
CHECK_USR=$(echo "${CHECK_PARTITIONS_OUTPUT}" | grep -c "8484680c-9521-48c6-9c11-b0720656f69e")
|
||||
CHECK_USRHASH=$(echo "${CHECK_PARTITIONS_OUTPUT}" | grep -c "77ff5f63-e7b6-4633-acf4-1565b864c0e6")
|
||||
if [[ ${CHECK_ESP} -eq 1 && ${CHECK_USR} -eq 1 && ${CHECK_USRHASH} -eq 1 && ${CHECK_ROOT} -eq 1 ]]; then
|
||||
read -r "Alle Partitionen sind vorhanden. Trotzdem neu erstellen? (j/N): " confirm
|
||||
read -r -p "Alle Partitionen sind vorhanden. Trotzdem neu erstellen? (j/N): " confirm
|
||||
if [[ "${confirm}" == [jJ] ]];then
|
||||
echo "Partitionen werden neu erstellt"
|
||||
RECREATE_PARTITIONS="1"
|
||||
|
@ -260,7 +260,7 @@ CHECK_FS_ROOT=$(echo "${FILESYSTEM_OUTPUT}" | grep "${ROOT_PARTITION["PARTUUID"]
|
|||
RECREATE_FILESYSTEMS="0"
|
||||
if [[ ${CHECK_FS_ESP} -eq 1 && ${CHECK_FS_USR} -eq 1 && ${CHECK_FS_USRHASH} -eq 1 && ${CHECK_FS_ROOT} -eq 1 ]]; then
|
||||
echo "Alles vorhanden"
|
||||
read -r "Alle Dateisysteme vorhanden. Trotzdem neu erstellen? (j/N): " confirm
|
||||
read -r -p "Alle Dateisysteme vorhanden. Trotzdem neu erstellen? (j/N): " confirm
|
||||
if [[ ${confirm} == [jJ] ]]; then
|
||||
echo "Dateisysteme werden neuerstellt."
|
||||
RECREATE_FILESYSTEMS="1"
|
||||
|
|
Loading…
Reference in a new issue