diff --git a/scripts/install b/scripts/install index f635d47..5d98f75 100755 --- a/scripts/install +++ b/scripts/install @@ -12,6 +12,13 @@ source /usr/share/yunohost/helpers jwt_key=$(ynh_string_random --length=45 | base64) ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key +if [ $registration == "0" ]; then + registration="false" +else + registration="true" +fi + + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================