1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Included new helpers

This commit is contained in:
Olivier BILHAUT 2018-01-16 17:09:27 +01:00 committed by Jeff
parent 76f2c79830
commit 4611bb1b4b

View file

@ -4,9 +4,28 @@ set -eu
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
version=$(cat ../sources/version) version=$(cat ../sources/version)
# Source YunoHost helpers ## Source YunoHost helpers - old
# source /usr/share/yunohost/helpers
# source ./_extrahelpers
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
source ./_extrahelpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
# Retrieve arguments # Retrieve arguments
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN