Housekeeping

Removed unnecessary wildcards for non-ubuntu operating systems.
pull/135/head
Yannick Mauray 3 years ago committed by Martin Wimpress
parent fd901a987c
commit 91f2abdeab
  1. 14
      quickget

@ -355,13 +355,13 @@ function make_vm_config() {
if [[ "${OS}" == "freebsd" ]]; then
GUEST="freebsd"
IMAGE_TYPE="iso"
elif [[ "${OS}" == *"fedora"* ]]; then
elif [[ "${OS}" == "fedora" ]]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [[ "${OS}" == *"linuxmint"* ]]; then
elif [[ "${OS}" == "linuxmint" ]]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [[ "${OS}" == *"opensuse"* ]]; then
elif [[ "${OS}" == "opensuse" ]]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [[ "${OS}" == *"ubuntu"* ]]; then
@ -782,13 +782,13 @@ VM_PATH="${OS}-${RELEASE}"
if [ "${OS}" == "macos" ]; then
get_macos
elif [[ "${OS}" == *"freebsd" ]]; then
elif [[ "${OS}" == "freebsd" ]]; then
get_freebsd
elif [[ "${OS}" == *"fedora"* ]]; then
elif [[ "${OS}" == "fedora" ]]; then
get_fedora
elif [[ "${OS}" == *"linuxmint"* ]]; then
elif [[ "${OS}" == "linuxmint" ]]; then
get_linuxmint
elif [[ "${OS}" == *"opensuse"* ]]; then
elif [[ "${OS}" == "opensuse" ]]; then
get_opensuse
elif [[ "${OS}" == *"ubuntu"* ]]; then
get_ubuntu

Loading…
Cancel
Save