mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
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.
This commit is contained in:
parent
d20ad7aa1c
commit
6b86e81e72
1 changed files with 6 additions and 0 deletions
6
quickget
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…
Reference in a new issue