Update 99-run.sh

This commit is contained in:
Alexandre
2022-07-21 17:14:12 +02:00
committed by GitHub
parent cb1401f5a1
commit c924148b6f

View File

@@ -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 " "