mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'fixed autoprepareÄ
This commit is contained in:
parent
9dd298afec
commit
2c6e9a5174
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ EOF
|
||||||
mountpoint=$(echo $fsspec | tr -d ' ' | cut -f1 -d:)
|
mountpoint=$(echo $fsspec | tr -d ' ' | cut -f1 -d:)
|
||||||
fstype=$(echo $fsspec | tr -d ' ' | cut -f3 -d:)
|
fstype=$(echo $fsspec | tr -d ' ' | cut -f3 -d:)
|
||||||
if [ $(echo $mountpoint | tr -d ' ' | grep '^/$' | wc -l) -eq 0 ]; then
|
if [ $(echo $mountpoint | tr -d ' ' | grep '^/$' | wc -l) -eq 0 ]; then
|
||||||
_mkfs yes ${DEVICE}p${part} "$fstype" "$DESTDIR" "$mountpoint" || return 1
|
_mkfs yes ${DEVICE}${part} "$fstype" "$DESTDIR" "$mountpoint" || return 1
|
||||||
fi
|
fi
|
||||||
part=$(($part + 1))
|
part=$(($part + 1))
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue