From 7df148184b6cac527860abc3502a409e8df6cdc5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 May 2023 17:14:25 +0200 Subject: [PATCH] Update 99-run.sh --- free_games_claimer/rootfs/etc/cont-init.d/99-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/free_games_claimer/rootfs/etc/cont-init.d/99-run.sh b/free_games_claimer/rootfs/etc/cont-init.d/99-run.sh index 36019fe14..25fd5095c 100755 --- a/free_games_claimer/rootfs/etc/cont-init.d/99-run.sh +++ b/free_games_claimer/rootfs/etc/cont-init.d/99-run.sh @@ -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 @@ -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"