From d16d1335031951c6ed69dc5648f1b3fed48c7c25 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 14 Nov 2021 23:44:15 +0100 Subject: [PATCH] Fix linter --- manifest.json | 7 +++---- scripts/restore | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 92064f7..7a3b593 100755 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "mautic", "packaging_format": 1, "description": { - "en": "Open Source Marketing Automation Software.", - "fr": "Logiciel d'automatisation marketing open source." + "en": "Open Source Marketing Automation Software", + "fr": "Logiciel d'automatisation marketing open source" }, "version": "4.0.0~ynh1", "url": "https://www.mautic.org/", @@ -33,8 +33,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", diff --git a/scripts/restore b/scripts/restore index c581c39..6736969 100755 --- a/scripts/restore +++ b/scripts/restore @@ -40,8 +40,6 @@ timezone="$(cat /etc/timezone)" #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path "