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

Fix linter warnings

This commit is contained in:
ericgaspar 2021-11-14 09:55:32 +01:00
parent 753a9027bc
commit 870c5cc5b4
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 7 deletions

View file

@ -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"
}
]
}

View file

@ -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 "