From c924148b6f16f428eb7459c18749baf2ee6ffb9f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 21 Jul 2022 17:14:12 +0200 Subject: [PATCH] Update 99-run.sh --- epicgamesfree/rootfs/etc/cont-init.d/99-run.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh index 905d33112..2721b2e6b 100644 --- a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh +++ b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh @@ -19,8 +19,8 @@ bashio::log.info "The following json files were found in $HOME and will be used cd "$HOME" || true for i in *.json; do # Whitespace-safe but not recursive. echo "... processing $i" - # ln -sf "$i" /usr/app/config - cp "$i" /usr/app/config + ln -sf "$i" /usr/app/config + # cp "$i" /usr/app/config done # Permissions @@ -30,6 +30,10 @@ chmod -R 777 "$HOME" # Launch App # ############## +# Update npm +echo "Updating software" +npm update --no-save + echo " " bashio::log.info "Starting the app" echo " "