From 9fb6213490cf467952baed3b40d9b50a48b45d62 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 13 Mar 2022 23:24:55 +0100 Subject: [PATCH] fix variables --- manifest.json | 4 ++-- scripts/install | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index a6dfd4b..28a83dd 100644 --- a/manifest.json +++ b/manifest.json @@ -80,7 +80,7 @@ "default": false }, { - "name": "registration-approval", + "name": "registration_approval", "type": "boolean", "ask": { "en": "Registration approval?", @@ -93,7 +93,7 @@ "default": true }, { - "name": "registration-reason", + "name": "registration_reason", "type": "boolean", "ask": { "en": "Request registration reason?", diff --git a/scripts/install b/scripts/install index 3465ad7..3a19e23 100755 --- a/scripts/install +++ b/scripts/install @@ -29,8 +29,8 @@ admin=$YNH_APP_ARG_ADMIN email=$YNH_APP_ARG_EMAIL password=$YNH_APP_ARG_PASSWORD registration=$YNH_APP_ARG_REGISTRATION -registration-approval=$YNH_APP_ARG_REGISTRATION_APPROVAL -registration-reason=$YNH_APP_ARG_REGISTRATION_REASON +registration_approval=$YNH_APP_ARG_REGISTRATION_APPROVAL +registration_reason=$YNH_APP_ARG_REGISTRATION_REASON ### If it's a multi-instance app, meaning it can be installed several times independently ### The id of the app as stated in the manifest is available as $YNH_APP_ID