Fixed disk check for auto partitioning

artix
axtloss 4 years ago committed by GitHub
parent 86fda2a65e
commit 0f8d7fe131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ if [[ "$PMODE" == "y" ]]; then
else else
prompt "Install target (will be WIPED COMPLETELY)" prompt "Install target (will be WIPED COMPLETELY)"
DISK="$response" DISK="$response"
if [[ ! -f $DISK ]]; then if [[ $(ls $DISK) == $DISK ]]; then
err "Seems like $DISK doesn't exist. Did you typo?" err "Seems like $DISK doesn't exist. Did you typo?"
exit 1 exit 1
fi fi

Loading…
Cancel
Save