forgot to close an if statement and used -eq instead of ==
How silly
This commit is contained in:
+2
-1
@@ -503,11 +503,12 @@ echo ""
|
|||||||
echo "macOS Mojave 10.14.1 will now install and start up."
|
echo "macOS Mojave 10.14.1 will now install and start up."
|
||||||
echo ""
|
echo ""
|
||||||
read -n 1 -p "Delete temporary files? [y/n] " delete
|
read -n 1 -p "Delete temporary files? [y/n] " delete
|
||||||
if [ "${delete}" -eq "y" ]; then
|
if [ "${delete}" == "y" ]; then
|
||||||
# temporary files cleanup
|
# temporary files cleanup
|
||||||
VBoxManage closemedium "BaseSystem.vdi"
|
VBoxManage closemedium "BaseSystem.vdi"
|
||||||
VBoxManage closemedium "Install ${vmname}.vdi"
|
VBoxManage closemedium "Install ${vmname}.vdi"
|
||||||
rm "BaseSystem.vdi" "Install ${vmname}.vdi"
|
rm "BaseSystem.vdi" "Install ${vmname}.vdi"
|
||||||
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "macOS Mojave 10.14.1 installation should complete in a few minutes."
|
echo "macOS Mojave 10.14.1 installation should complete in a few minutes."
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user