Update 99-run.sh

This commit is contained in:
Alexandre
2023-05-24 17:14:25 +02:00
committed by GitHub
parent 8d578bb47f
commit 7df148184b

View File

@@ -6,8 +6,8 @@
############## ##############
# Delete file if existing # Delete file if existing
if [ -f /data/data/config.env ]; then if [ -f /data/config.env ]; then
rm /data/data/config.env rm /data/config.env
fi fi
# Use new config file # Use new config file
@@ -23,7 +23,7 @@ if [ ! -f "$HOME"/config.env ]; then
else else
bashio::log.warning "The config.env file found in $HOME will be used. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on" bashio::log.warning "The config.env file found in $HOME will be used. Please customize according to https://github.com/vogler/free-games-claimer/tree/main#configuration--options and restart the add-on"
fi fi
cp "$HOME"/config.env /data/data/ cp "$HOME"/config.env /data/
# Permissions # Permissions
chmod -R 777 "$HOME" chmod -R 777 "$HOME"