From 7ef468db728a8d705fe64dea925bbe4f991b0a3a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 15 Mar 2019 09:43:19 +0100 Subject: [PATCH] Manage YEP-2.4 --- scripts/install | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index af97734..9862f1d 100755 --- a/scripts/install +++ b/scripts/install @@ -11,15 +11,6 @@ source detect_arch source ynh_systemd_action source /usr/share/yunohost/helpers -#================================================= -# MANAGE APPLICATION NOT COMPATIBLE WITH ARM -#================================================= - -if [ $architecture = "arm" ] -then - ynh_die "WriteFreely not available on Arm" -fi - #================================================= # MANAGE SCRIPT FAILURE #================================================= @@ -31,6 +22,15 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors +#================================================= +# MANAGE APPLICATION NOT COMPATIBLE WITH ARM +#================================================= + +if [ $architecture = "arm" ] +then + ynh_die "WriteFreely not available on Arm" +fi + #================================================= # RETRIEVE ARGUMENTS FROM THE MANIFEST #=================================================