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:
parent
73212e7c0b
commit
77d8c0dfb2
4 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
set -eu
|
||||
|
||||
. /usr/share/yunohost/helpers
|
||||
ynh_abort_if_errors
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
set -eu
|
||||
|
||||
. /usr/share/yunohost/helpers
|
||||
ynh_abort_if_errors
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue