From 8a19e000f6d755629615064cd29d7579b905b892 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 12 Nov 2021 13:35:59 +0100 Subject: [PATCH] Fix linter --- manifest.json | 10 ++++------ scripts/restore | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index b07006c..8e1ba67 100644 --- a/manifest.json +++ b/manifest.json @@ -3,16 +3,15 @@ "id": "libreto", "packaging_format": 1, "description": { - "en": "Aggregate your pads to create a wiki.", - "fr": "Agrégez vos pads pour créer un wiki." + "en": "Aggregate your pads to create a wiki", + "fr": "Agrégez vos pads pour créer un wiki" }, - "version": "0.0.20180605~ynh2", + "version": "0.0.20180605~ynh3", "url": "https://libreto.net", "upstream": { "license": "GPL-3.0-or-later", "website": "https://libreto.net", "demo": "https://libreto.net", - "admindoc": "https://github.com/Ventricule/libreto", "code": "https://github.com/Ventricule/libreto" }, "license": "GPL-3.0-or-later", @@ -33,8 +32,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", diff --git a/scripts/restore b/scripts/restore index 6fcca80..6761640 100755 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -ynh_webpath_available $domain $path_url \ - || ynh_die "Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die "There is already a directory: $final_path "