mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
Bump epicgamesfree version to debian-2025-11-19
This commit is contained in:
@@ -12,15 +12,15 @@ LEGACY_YAML="$HOME/config.yaml"
|
||||
|
||||
if [ ! -f "$CONFIG_JSON" ]; then
|
||||
if [ -f "$LEGACY_YAML" ]; then
|
||||
bashio::log.warning "A config.yaml file was found but the add-on expects config.json. Please convert your configuration to JSON as documented upstream."
|
||||
else
|
||||
# Copy default config.json
|
||||
cp /templates/config.json "$CONFIG_JSON"
|
||||
chmod 755 "$CONFIG_JSON"
|
||||
bashio::log.warning "A default config.json file was copied in $HOME. Please customize according to https://github.com/claabs/epicgames-freegames-node#configuration and restart the add-on"
|
||||
sleep 5
|
||||
bashio::exit.nok
|
||||
bashio::log.warning "A legacy config.yaml was found. A default config.json will be created. Please migrate your settings to the new file format and restart the add-on"
|
||||
fi
|
||||
|
||||
# Copy default config.json
|
||||
cp /templates/config.json "$CONFIG_JSON"
|
||||
chmod 755 "$CONFIG_JSON"
|
||||
bashio::log.warning "A default config.json file was copied in $HOME. Please customize according to https://github.com/claabs/epicgames-freegames-node#configuration and restart the add-on"
|
||||
sleep 5
|
||||
bashio::exit.nok
|
||||
else
|
||||
bashio::log.warning "The config.json file found in $HOME will be used. Please customize according to https://github.com/claabs/epicgames-freegames-node#configuration and restart the add-on"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user