From 91f2abdeabf7a5041115ddaab67733489601408d Mon Sep 17 00:00:00 2001 From: Yannick Mauray Date: Mon, 18 Oct 2021 22:39:31 +0200 Subject: [PATCH] Housekeeping Removed unnecessary wildcards for non-ubuntu operating systems. --- quickget | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/quickget b/quickget index cef5a92..9a57485 100755 --- a/quickget +++ b/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