mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-16 04:19:13 +02:00
Update 99-run.sh
This commit is contained in:
@@ -8,9 +8,9 @@
|
|||||||
HOME="$(bashio::config "CONFIG_LOCATION")"
|
HOME="$(bashio::config "CONFIG_LOCATION")"
|
||||||
HOME="$(dirname "$HOME")"
|
HOME="$(dirname "$HOME")"
|
||||||
if [ ! -f "$HOME"/config.yaml ]; then
|
if [ ! -f "$HOME"/config.yaml ]; then
|
||||||
# Copy default config.json
|
# Copy default config.yaml
|
||||||
cp /templates/config.yaml "$HOME"/config.yaml
|
cp /templates/config.yaml "$HOME"/config.yaml
|
||||||
chmod 777 "$HOME"/config.json
|
chmod 777 "$HOME"/config.yaml
|
||||||
bashio::log.warning "A default config.yaml file was copied in $HOME. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on"
|
bashio::log.warning "A default config.yaml file was copied in $HOME. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on"
|
||||||
sleep 5
|
sleep 5
|
||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
|
|||||||
Reference in New Issue
Block a user