Cleaning up

This commit is contained in:
ericgaspar 2021-10-01 20:53:17 +02:00
parent 9d0a4bbfdc
commit 15b54ab0fa
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 6 deletions

View file

@ -30,8 +30,7 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "domain.org"
}, },
{ {
"name": "path", "name": "path",
@ -51,8 +50,7 @@
{ {
"name": "password", "name": "password",
"type": "password", "type": "password",
"optional": true, "optional": true
"example": "myreallystrengthpassword"
}, },
{ {
"name": "is_public", "name": "is_public",

View file

@ -37,8 +37,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2 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 \ test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path " || ynh_die --message="There is already a directory: $final_path "