From 6b86e81e729b2f3d564485a6219a079258588bd0 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 22 Feb 2022 18:48:42 +0000 Subject: [PATCH] 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. --- quickget | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickget b/quickget index b651b56..3a314e4 100755 --- a/quickget +++ b/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