diff --git a/manifest.json b/manifest.json index 8a0ac17..b338120 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/scripts/upgrade b/scripts/upgrade index ba496e9..9deb2dd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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