From 477b2b994297c11a3b48e901ba02f4e17d634e07 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 18 Jan 2021 20:05:29 +0100 Subject: [PATCH] Fix $registration definition --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index e220830..5324771 100644 --- a/scripts/install +++ b/scripts/install @@ -148,11 +148,10 @@ pushd "$final_path" || ynh_die popd || ynh_die # Allow or deny registration based of is_public +registration=false if [ $is_public -eq 1 ] then - registration = true -else - registration = false + registration=true fi # Copy and modify the config file