Skip to content

Commit

Permalink
Update 99-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored May 24, 2023
1 parent 8d578bb commit 7df1481
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions free_games_claimer/rootfs/etc/cont-init.d/99-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
##############

# Delete file if existing
if [ -f /data/data/config.env ]; then
rm /data/data/config.env
if [ -f /data/config.env ]; then
rm /data/config.env
fi

# Use new config file
Expand All @@ -23,7 +23,7 @@ if [ ! -f "$HOME"/config.env ]; then
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"
fi
cp "$HOME"/config.env /data/data/
cp "$HOME"/config.env /data/

# Permissions
chmod -R 777 "$HOME"
Expand Down

0 comments on commit 7df1481

Please sign in to comment.