mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update 99-run.sh
This commit is contained in:
@@ -19,8 +19,8 @@ bashio::log.info "The following json files were found in $HOME and will be used
|
|||||||
cd "$HOME" || true
|
cd "$HOME" || true
|
||||||
for i in *.json; do # Whitespace-safe but not recursive.
|
for i in *.json; do # Whitespace-safe but not recursive.
|
||||||
echo "... processing $i"
|
echo "... processing $i"
|
||||||
# ln -sf "$i" /usr/app/config
|
ln -sf "$i" /usr/app/config
|
||||||
cp "$i" /usr/app/config
|
# cp "$i" /usr/app/config
|
||||||
done
|
done
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
@@ -30,6 +30,10 @@ chmod -R 777 "$HOME"
|
|||||||
# Launch App #
|
# Launch App #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
|
# Update npm
|
||||||
|
echo "Updating software"
|
||||||
|
npm update --no-save
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
bashio::log.info "Starting the app"
|
bashio::log.info "Starting the app"
|
||||||
echo " "
|
echo " "
|
||||||
|
|||||||
Reference in New Issue
Block a user