From 4e996121f8c06c947a362d7504ebc645bbd8bb69 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sat, 4 Jun 2016 23:09:25 +0200 Subject: [PATCH] =?UTF-8?q?source=20=C3=A0=20la=20place=20de=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 4 ++-- scripts/remove | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 542b30e..094d14f 100644 --- a/scripts/install +++ b/scripts/install @@ -15,7 +15,7 @@ then app=$YNH_APP_INSTANCE_NAME # Source app helpers - . /usr/share/yunohost/helpers + source /usr/share/yunohost/helpers else domain=$1 path=$2 @@ -30,7 +30,7 @@ fi # Delete files and db if exit with an error EXIT_PROPERLY () { - trap '' ERR + trap ERR echo -e "\e[91m \e[1m" # Shell in light red bold echo -e "!!\n $app install's script has encountered an error. Installation was cancelled.\n!!" diff --git a/scripts/remove b/scripts/remove index 105333b..9b28b1d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -6,7 +6,7 @@ if [ $ynh_version = "2.4" ]; then app=$YNH_APP_INSTANCE_NAME # Source app helpers - . /usr/share/yunohost/helpers + source /usr/share/yunohost/helpers else app=leed MYSQL_ROOT_PWD_FILE="/etc/yunohost/mysql"