Newer
Older
#!/bin/sh
{% if ynh_autoupdate.apps and ynh_autoupdate.system %}
yunohost tools update && \
yunohost tools upgrade system && \
yunohost tools upgrade apps
{% elif ynh_autoupdate.apps %}
yunohost tools update && \
yunohost tools upgrade apps
{% elif ynh_autoupdate.system %}
yunohost tools update && \
yunohost tools upgrade system
{% else %}
echo "Read the readme to know more about ynh_autoupdate.apps and ynh_autoupdate.system"
exit 1
{% endif %}