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:
parent
88468821d0
commit
65076ca807
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
} ]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,8 +30,8 @@ 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_DATABASE
|
||||
database=expr $database
|
||||
database=`expr $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
|
||||
### The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1", "2", ...)
|
||||
|
|
Loading…
Add table
Reference in a new issue