mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Correct conditionals in make_vm_config()
This commit is contained in:
parent
9cc489608c
commit
68213b89e7
1 changed files with 5 additions and 5 deletions
10
quickget
10
quickget
|
@ -408,22 +408,22 @@ function make_vm_config() {
|
|||
local GUEST=""
|
||||
IMAGE_FILE="${1}"
|
||||
ISO_FILE="${2}"
|
||||
if [[ "${OS}" == "elementary" ]]; then
|
||||
if [ "${OS}" == "elementary" ]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == "freebsd" ]]; then
|
||||
elif [ "${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
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == "opensuse" ]]; then
|
||||
elif [ "${OS}" == "opensuse" ]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == "popos" ]]; then
|
||||
elif [ "${OS}" == "popos" ]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == *"ubuntu"* ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue