mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-16 05:41:49 +02:00
Upgrade apps
This commit is contained in:
@@ -32,6 +32,14 @@ else
|
|||||||
CURRENTVERSION="Not found"
|
CURRENTVERSION="Not found"
|
||||||
fi
|
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 " "
|
echo " "
|
||||||
|
|
||||||
# If not installed, or files not available
|
# If not installed, or files not available
|
||||||
|
|||||||
Reference in New Issue
Block a user