mirror of
https://github.com/YunoHost-Apps/libreto_ynh.git
synced 2024-09-03 19:36:14 +02:00
Fix linter
This commit is contained in:
parent
344aa45931
commit
8a19e000f6
2 changed files with 4 additions and 8 deletions
|
@ -3,16 +3,15 @@
|
||||||
"id": "libreto",
|
"id": "libreto",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Aggregate your pads to create a wiki.",
|
"en": "Aggregate your pads to create a wiki",
|
||||||
"fr": "Agrégez vos pads pour créer un wiki."
|
"fr": "Agrégez vos pads pour créer un wiki"
|
||||||
},
|
},
|
||||||
"version": "0.0.20180605~ynh2",
|
"version": "0.0.20180605~ynh3",
|
||||||
"url": "https://libreto.net",
|
"url": "https://libreto.net",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"website": "https://libreto.net",
|
"website": "https://libreto.net",
|
||||||
"demo": "https://libreto.net",
|
"demo": "https://libreto.net",
|
||||||
"admindoc": "https://github.com/Ventricule/libreto",
|
|
||||||
"code": "https://github.com/Ventricule/libreto"
|
"code": "https://github.com/Ventricule/libreto"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
@ -33,8 +32,7 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "example.com"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
|
|
@ -37,8 +37,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
||||||
|
|
||||||
ynh_webpath_available $domain $path_url \
|
|
||||||
|| ynh_die "Path not available: ${domain}${path_url}"
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path \
|
||||||
|| ynh_die "There is already a directory: $final_path "
|
|| ynh_die "There is already a directory: $final_path "
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue