From 6786d9f65e60b2d2a96b9ea4c43897dde3a66199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 8 Jan 2021 21:49:47 +0100 Subject: [PATCH] Fix install on ynh 4.1 --- scripts/_common.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 9c8196b..99fbf6e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,11 +8,10 @@ i386sum="8a0b9e08d9c80790752b435c3e148328" armsum="15ca4b69585a990e00474e4cfc4be9eb" init_script() { - # Exit on command errors and treat unset variables as an error - set -eu - # Source YunoHost helpers source /usr/share/yunohost/helpers + # Exit on command errors and treat unset variables as an error + ynh_abort_if_errors # Retrieve arguments app=$YNH_APP_INSTANCE_NAME