Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
ynh_autoupdate.sh.j2 485 B
Newer Older
  • Learn to ignore specific revisions
  • #!/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 %}