1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

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" : [
{
"name": "domain",
"type": "domain",
"example": "domain.org"
"type": "domain"
},
{
"name": "path",
@ -51,8 +50,7 @@
{
"name": "password",
"type": "password",
"optional": true,
"example": "myreallystrengthpassword"
"optional": true
},
{
"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_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 "