From a5f6e850107b99fe22688d1f982a30cae1a5348e Mon Sep 17 00:00:00 2001 From: img2tab <31696646+img2tab@users.noreply.github.com> Date: Sun, 4 Nov 2018 21:33:14 +0000 Subject: [PATCH] forgot to close an if statement and used -eq instead of == How silly --- macos_okiomov.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macos_okiomov.sh b/macos_okiomov.sh index 33a9e99..94d0ccb 100644 --- a/macos_okiomov.sh +++ b/macos_okiomov.sh @@ -503,11 +503,12 @@ echo "" echo "macOS Mojave 10.14.1 will now install and start up." echo "" read -n 1 -p "Delete temporary files? [y/n] " delete -if [ "${delete}" -eq "y" ]; then +if [ "${delete}" == "y" ]; then # temporary files cleanup VBoxManage closemedium "BaseSystem.vdi" VBoxManage closemedium "Install ${vmname}.vdi" rm "BaseSystem.vdi" "Install ${vmname}.vdi" +fi echo "" echo "macOS Mojave 10.14.1 installation should complete in a few minutes." echo ""