diff --git a/manifest.json b/manifest.json index 4684cdd6..3500c581 100644 --- a/manifest.json +++ b/manifest.json @@ -52,8 +52,8 @@ "en": "Choose the database to be used for the Hubzilla [mysql:1,postgresql:2]", "fr": "Choisissez la database de l'Hubzilla [mysql:1,postgresql:2]" }, - "choices": ["1", "2"], - "default": "1" + "choices": [1, 2], + "default": 1 } ] } } diff --git a/scripts/install b/scripts/install index a06ff1fe..0d4e8942 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ admin=$YNH_APP_ARG_ADMIN email=$(sudo yunohost user info $admin | grep "mail:" | cut -d' ' -f2) upload="256M" random_string="$(ynh_string_random)$(ynh_string_random)$(ynh_string_random)" -database=$YNH_APP_ARG_DB +database=$YNH_APP_ARG_DATABASE ### 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