1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpldapadmin_ynh.git synced 2024-09-03 19:56:45 +02:00

add ynh_abort_if_errors

This commit is contained in:
aymhce 2017-09-11 10:55:18 +00:00
parent 73212e7c0b
commit 77d8c0dfb2
4 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,7 @@
set -eu
. /usr/share/yunohost/helpers
ynh_abort_if_errors
app=$YNH_APP_INSTANCE_NAME

View file

@ -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"

View file

@ -3,6 +3,7 @@
set -eu
. /usr/share/yunohost/helpers
ynh_abort_if_errors
app=$YNH_APP_INSTANCE_NAME

View file

@ -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)