'fixed autoprepareÄ

This commit is contained in:
Tobias Powalowski 2009-03-28 16:23:21 +01:00
parent 9dd298afec
commit 2c6e9a5174

View file

@ -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