1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

Fix typo for getter in install script

This commit is contained in:
anmol 2020-10-14 08:17:35 +05:30
parent 62ee84348b
commit bfcad2e1d1
2 changed files with 3 additions and 3 deletions

View file

@ -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
} ]
}
}

View file

@ -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