Browse Source

Set default image type if none is set

master
Matthias Klumpp 1 year ago
parent
commit
6a4a44b29f
  1. 8
      auto/config

8
auto/config

@ -26,7 +26,13 @@ else
fi
UI_TYPE=$(echo $FLAVOR | cut -f1 -d-)
IMAGE_TYPE=$(echo $FLAVOR | cut -f2 -d-)
IMAGE_TYPE=${FLAVOR#*-}
if [ "$IMAGE_TYPE" = "$FLAVOR" ]; then
IMAGE_TYPE="live"
echo "Using default image type: $IMAGE_TYPE"
else
echo "Using image type: $IMAGE_TYPE"
fi
CURRENT_DATE=$(date +%Y%m%d)

Loading…
Cancel
Save