From 4611bb1b4be6acd00ebc282dcd4555420fd819db Mon Sep 17 00:00:00 2001 From: Olivier BILHAUT Date: Tue, 16 Jan 2018 17:09:27 +0100 Subject: [PATCH] Included new helpers --- scripts/install | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 76e86fb..d1bb921 100644 --- a/scripts/install +++ b/scripts/install @@ -4,9 +4,28 @@ set -eu app=$YNH_APP_INSTANCE_NAME version=$(cat ../sources/version) -# Source YunoHost helpers - source /usr/share/yunohost/helpers - source ./_extrahelpers +## Source YunoHost helpers - old +# source /usr/share/yunohost/helpers +# source ./_extrahelpers + +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source _common.sh +source /usr/share/yunohost/helpers + +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= + +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + + + # Retrieve arguments domain=$YNH_APP_ARG_DOMAIN