From 428f0f1f967a9be1af85cdc0fbb194bc07974f5d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Oct 2021 22:21:20 +0200 Subject: [PATCH] Cleaning up --- conf/app.src | 1 - manifest.json | 6 ++---- scripts/restore | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/conf/app.src b/conf/app.src index 00d1ccc..9b48108 100644 --- a/conf/app.src +++ b/conf/app.src @@ -3,4 +3,3 @@ SOURCE_SUM=13deecec37a01029d7b9057dc7941e6e18e42551477d5ad46683247402904828 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= diff --git a/manifest.json b/manifest.json index 8f0eef3..40c596b 100644 --- a/manifest.json +++ b/manifest.json @@ -35,8 +35,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", @@ -46,8 +45,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index b95f289..2a7dc07 100755 --- a/scripts/restore +++ b/scripts/restore @@ -36,8 +36,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." -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 "