|
|
@ -12,12 +12,15 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$FLAVOR" ]; then
|
|
|
|
if [ -z "$FLAVOR" ]; then
|
|
|
|
FLAVOR="live"
|
|
|
|
FLAVOR="gnome-live"
|
|
|
|
echo "Using default flavor: $FLAVOR"
|
|
|
|
echo "Using default flavor: $FLAVOR"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "Using flavor: $FLAVOR"
|
|
|
|
echo "Using flavor: $FLAVOR"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UI_TYPE=$(echo $FLAVOR | cut -f1 -d-)
|
|
|
|
|
|
|
|
IMAGE_TYPE=$(echo $FLAVOR | cut -f2 -d-)
|
|
|
|
|
|
|
|
|
|
|
|
# repository URL
|
|
|
|
# repository URL
|
|
|
|
PUREOS_REPO="https://repo.puri.sm/pureos"
|
|
|
|
PUREOS_REPO="https://repo.puri.sm/pureos"
|
|
|
|
|
|
|
|
|
|
|
@ -80,7 +83,7 @@ case "$arch" in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
case "$FLAVOR" in
|
|
|
|
case "$IMAGE_TYPE" in
|
|
|
|
"live"|"LIVE")
|
|
|
|
"live"|"LIVE")
|
|
|
|
FLAVOR=live
|
|
|
|
FLAVOR=live
|
|
|
|
FLAVOR_PRETTY=Live
|
|
|
|
FLAVOR_PRETTY=Live
|
|
|
|