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

Fix string error

This commit is contained in:
anmol 2020-10-14 08:39:43 +05:30
parent 88468821d0
commit 65076ca807
2 changed files with 4 additions and 4 deletions

View file

@ -52,8 +52,8 @@
"en": "Choose the database to be used for the Hubzilla [mysql:1,postgresql:2]", "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]" "fr": "Choisissez la database de l'Hubzilla [mysql:1,postgresql:2]"
}, },
"choices": [1, 2], "choices": ["1", "2"],
"default": 1 "default": "1"
} ] } ]
} }
} }

View file

@ -30,8 +30,8 @@ admin=$YNH_APP_ARG_ADMIN
email=$(sudo yunohost user info $admin | grep "mail:" | cut -d' ' -f2) email=$(sudo yunohost user info $admin | grep "mail:" | cut -d' ' -f2)
upload="256M" upload="256M"
random_string="$(ynh_string_random)$(ynh_string_random)$(ynh_string_random)" random_string="$(ynh_string_random)$(ynh_string_random)$(ynh_string_random)"
database=$YNH_APP_ARG_DATABASE database=`expr $YNH_APP_ARG_DATABASE`
database=expr $database
### If it's a multi-instance app, meaning it can be installed several times independently ### 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 ### The id of the app as stated in the manifest is available as $YNH_APP_ID
### The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1", "2", ...) ### The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1", "2", ...)