diff --git a/scripts/backup b/scripts/backup index 01a5c66..b71bb5a 100755 --- a/scripts/backup +++ b/scripts/backup @@ -3,6 +3,7 @@ set -eu . /usr/share/yunohost/helpers +ynh_abort_if_errors app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/install b/scripts/install index 6b513db..fadf7a3 100755 --- a/scripts/install +++ b/scripts/install @@ -10,6 +10,7 @@ admin=$YNH_APP_ARG_ADMIN # Source YunoHost helpers . /usr/share/yunohost/helpers +ynh_abort_if_errors # Save app settings ynh_app_setting_set "$app" admin "$admin" diff --git a/scripts/restore b/scripts/restore index c8f145a..6d93646 100755 --- a/scripts/restore +++ b/scripts/restore @@ -3,6 +3,7 @@ set -eu . /usr/share/yunohost/helpers +ynh_abort_if_errors app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/upgrade b/scripts/upgrade index bf98dcc..c0a9ba8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,6 +7,7 @@ app=$YNH_APP_INSTANCE_NAME # Source YunoHost helpers . /usr/share/yunohost/helpers +ynh_abort_if_errors # Retrieve app settings domain=$(ynh_app_setting_get "$app" domain)