mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed mkfs on answering no'
This commit is contained in:
parent
66d69f3780
commit
6cfeaa640d
1 changed files with 1 additions and 2 deletions
|
@ -697,7 +697,6 @@ mountpoints() {
|
|||
FSTYPE=$(echo $line | cut -d: -f 2)
|
||||
MP=$(echo $line | cut -d: -f 3)
|
||||
DOMKFS=$(echo $line | cut -d: -f 4)
|
||||
umount ${DESTDIR}${MP}
|
||||
if [ "$DOMKFS" = "yes" ]; then
|
||||
if [ "$FSTYPE" = "swap" ]; then
|
||||
DIALOG --infobox "Creating and activating swapspace on $PART" 0 0
|
||||
|
@ -709,7 +708,7 @@ mountpoints() {
|
|||
if [ "$FSTYPE" = "swap" ]; then
|
||||
DIALOG --infobox "Activating swapspace on $PART" 0 0
|
||||
else
|
||||
DIALOG --infobox "Mounting $PART to ${DESTDIR}${MP}"
|
||||
DIALOG --infobox "Mounting $FSTYPE on $PART to ${DESTDIR}${MP}" 0 0
|
||||
fi
|
||||
_mkfs no $PART $FSTYPE $DESTDIR $MP || return 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue