From 588569e23b077034d38d592304bf38fdad15f606 Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Sat, 13 Jan 2018 20:06:20 +0100 Subject: [PATCH] Prepare for supporting more complex flavors --- auto/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/auto/config b/auto/config index 0b45b2f..232b285 100755 --- a/auto/config +++ b/auto/config @@ -12,12 +12,15 @@ else fi if [ -z "$FLAVOR" ]; then - FLAVOR="live" + FLAVOR="gnome-live" echo "Using default flavor: $FLAVOR" else echo "Using flavor: $FLAVOR" fi +UI_TYPE=$(echo $FLAVOR | cut -f1 -d-) +IMAGE_TYPE=$(echo $FLAVOR | cut -f2 -d-) + # repository URL PUREOS_REPO="https://repo.puri.sm/pureos" @@ -80,7 +83,7 @@ case "$arch" in ;; esac -case "$FLAVOR" in +case "$IMAGE_TYPE" in "live"|"LIVE") FLAVOR=live FLAVOR_PRETTY=Live