1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Merge pull request #51 from YunoHost-Apps/testing

Testing / Typo in datadir definition in upgrade..
This commit is contained in:
Alexandre Aubin 2021-10-25 01:46:32 +02:00 committed by GitHub
commit 36929f7710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 9 deletions

View file

@ -6,7 +6,7 @@
"en": "Create online webforms and surveys",
"fr": "Créez des formulaires et questionnaires en ligne"
},
"version": "1.0.3~ynh2",
"version": "1.0.3~ynh3",
"url": "https://framagit.org/framasoft/framaforms",
"license": "GPL-2.0-only",
"requirements": {
@ -27,8 +27,7 @@
"install" : [
{
"name": "domain",
"type": "domain",
"example": "domain.org"
"type": "domain"
},
{
"name": "path",
@ -38,13 +37,11 @@
},
{
"name": "admin",
"type": "user",
"example": "johndoe"
"type": "user"
},
{
"name": "password",
"type": "password",
"example": "Choose a password"
"type": "password"
},
{
"name": "language",

View file

@ -66,8 +66,8 @@ fi
# If datadir doesn't exist, create it
if [ -z "$datadir" ]; then
final_path=/home/yunohost.app/$app
ynh_app_setting_set --app=$app --key=final_path --value=$datadir
datadir=/home/yunohost.app/$app
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
fi
# Cleaning legacy permissions