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

Fix linter

This commit is contained in:
ericgaspar 2021-11-14 23:44:15 +01:00
parent f029e52d9c
commit d16d133503
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 6 deletions

View file

@ -3,8 +3,8 @@
"id": "mautic", "id": "mautic",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Open Source Marketing Automation Software.", "en": "Open Source Marketing Automation Software",
"fr": "Logiciel d'automatisation marketing open source." "fr": "Logiciel d'automatisation marketing open source"
}, },
"version": "4.0.0~ynh1", "version": "4.0.0~ynh1",
"url": "https://www.mautic.org/", "url": "https://www.mautic.org/",
@ -33,8 +33,7 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "example.com"
}, },
{ {
"name": "path", "name": "path",

View file

@ -40,8 +40,6 @@ timezone="$(cat /etc/timezone)"
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1 ynh_script_progression --message="Validating restoration parameters..." --weight=1
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 "