From 870c5cc5b457925599ce5544fa28a777b9c50155 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 14 Nov 2021 09:55:32 +0100 Subject: [PATCH] Fix linter warnings --- manifest.json | 7 ++----- scripts/restore | 2 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 8d57e91..2fcb724 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,6 @@ "website": "http://www.phpmyadmin.net", "demo": "https://demo.phpmyadmin.net/master-config", "admindoc": "https://www.phpmyadmin.net/docs/", - "userdoc": "https://yunohost.org/en/app_phpmyadmin", "code": "https://github.com/phpmyadmin/phpmyadmin" }, "license": "GPL-2.0-only", @@ -34,8 +33,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", @@ -45,8 +43,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" } ] } diff --git a/scripts/restore b/scripts/restore index 4a7311d..3505835 100644 --- a/scripts/restore +++ b/scripts/restore @@ -34,8 +34,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -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 "