Prepare for supporting more complex flavors

merge-requests/1/head
Matthias Klumpp 7 years ago
parent 156f14714f
commit 588569e23b

@ -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

Loading…
Cancel
Save