Upgrade apps

This commit is contained in:
Alexandre
2023-07-21 15:27:19 +02:00
parent 08eb26f4ea
commit 1b4e90bfd4

View File

@@ -32,6 +32,14 @@ else
CURRENTVERSION="Not found"
fi
# Updater apps code
if ! bashio::config.true "disable_updates"; then
bashio::log.green "... checking for app updates"
sudo -u abc -s /bin/bash -c "php /data/config/www/nextcloud/occ app:update --all"
else
bashio::log.yellow "... disable_updates set, apps need to be updated manually"
fi
echo " "
# If not installed, or files not available