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:
parent
9d0a4bbfdc
commit
15b54ab0fa
2 changed files with 2 additions and 6 deletions
|
@ -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",
|
||||
|
|
|
@ -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 "
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue