macOS, Windows & Ubuntu do not use create_vm()

The get_() function for macOS, Windows and Ubuntu are more complete because they do not solely use wget/aria2.

Their get_() functions include the code to create VMs and therefore do not use the generic create_vm() helper.
pull/383/head
Martin Wimpress 3 years ago
parent d20ad7aa1c
commit 6b86e81e72
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 6
      quickget

@ -1931,7 +1931,12 @@ if [ -n "${2}" ]; then
VM_PATH="${OS}-${RELEASE}-${EDITION}"
validate_release releases_"${OS}"
get_"${OS}" "${EDITION}"
elif [ "${OS}" == "macos" ]; then
# macOS doesn't use create_vm()
validate_release releases_macos
get_macos
elif [[ "${OS}" == *"ubuntu"* ]]; then
# Ubuntu doesn't use create_vm()
validate_release releases_ubuntu
get_ubuntu
elif [ "${OS}" == "windows" ]; then
@ -1946,6 +1951,7 @@ if [ -n "${2}" ]; then
exit 1
fi
fi
# Windows doesn't use create_vm()
validate_release releases_windows
get_windows "${LANG}"
else

Loading…
Cancel
Save