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
prompt "Install target (will be WIPED COMPLETELY)"
DISK="$response"
if [[ ! -f $DISK ]]; then
if [[ $(ls $DISK) == $DISK ]]; then
err "Seems like $DISK doesn't exist. Did you typo?"
exit 1
fi
@ -191,4 +191,4 @@ rm /mnt/continue.sh
inf "Installation should now be complete. Please press enter to reboot :)"
read
reboot
reboot

Loading…
Cancel
Save