diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index 123fd8539..6fd31dc53 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -1172,7 +1172,7 @@ _raid() while [ "$PART" != "DONE" ]; do RAIDNUMBER=$(($RAIDNUMBER + 1)) # clean loop from used partition and options - PARTS="$(echo $PARTS | sed -e "s#${PART}\ _##g" -e "s#${PART}[0-9]\ _##g" -e "s#$(echo ${PART} | sed -e 's#[0-9]##g')\ _##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')" + PARTS="$(echo $PARTS | sed -e "s#${PART}\ _##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')" # raid0 doesn't support missing devices ! [ "$LEVEL" = "raid0" -o "$LEVEL" = "linear" ] && MDEXTRA="MISSING _" # add more devices @@ -1568,7 +1568,6 @@ _luks() LUKSFINISH="" while [ "$LUKSFINISH" != "DONE" ]; do activate_special_devices - #PARTS=$(finddisks _) PARTS="$(findpartitions _)" ALREADYINUSE="" # skip already encrypted devices, device mapper!