mirror of
https://github.com/YunoHost-Apps/prettynoemiecms_ynh.git
synced 2024-09-03 20:06:36 +02:00
Fix linter warnings
This commit is contained in:
parent
e3c8a232f9
commit
3e5b452f11
2 changed files with 6 additions and 11 deletions
|
@ -3,8 +3,8 @@
|
|||
"id": "prettynoemiecms",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "An ergonomic, simple and elegant CMS to build in no time landpage websites with modern design.",
|
||||
"fr": "Un CMS ergonomique, simple et élégant pour construire en un rien de temps des sites vitrines avec un design moderne."
|
||||
"en": "Ergonomic, simple and elegant CMS to build in no time landpage websites with modern design",
|
||||
"fr": "CMS ergonomique, simple et élégant pour construire en un rien de temps des sites vitrines avec un design moderne"
|
||||
},
|
||||
"version": "2020.01.07~ynh1",
|
||||
"url": "https://framagit.org/framasoft/PrettyNoemieCMS",
|
||||
|
@ -14,7 +14,7 @@
|
|||
"email": "pierre@kayou.io"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.1.7"
|
||||
"yunohost": ">= 4.2.4"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
@ -25,8 +25,7 @@
|
|||
"install" : [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "example.com"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
|
@ -36,8 +35,7 @@
|
|||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user",
|
||||
"example": "johndoe"
|
||||
"type": "user"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
|
@ -56,8 +54,7 @@
|
|||
},
|
||||
{
|
||||
"name": "password",
|
||||
"type": "password",
|
||||
"example": "Choose a password"
|
||||
"type": "password"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -37,8 +37,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
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 \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue