mirror of
https://github.com/YunoHost-Apps/epicyon_ynh.git
synced 2024-09-03 18:36:08 +02:00
Fix typos
This commit is contained in:
parent
275887bf88
commit
b5bae51155
2 changed files with 5 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "epicyon",
|
"name": "Epicyon",
|
||||||
"id": "epicyon",
|
"id": "epicyon",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-1.0-or-later",
|
"license": "AGPL-1.0-or-later",
|
||||||
"website": "https://epicyon.net",
|
"website": "https://epicyon.net",
|
||||||
"code": "hhttps://gitlab.com/bashrc2/epicyon/"
|
"code": "https://gitlab.com/bashrc2/epicyon/"
|
||||||
},
|
},
|
||||||
"license": "AGPL-1.0-or-later",
|
"license": "AGPL-1.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -28,18 +28,15 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "example.com"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"type": "user"
|
||||||
"example": "johndoe"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "password",
|
"name": "password",
|
||||||
"type": "password",
|
"type": "password"
|
||||||
"example": "Choose a password"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,8 +38,6 @@ public_path=$(ynh_app_setting_get --app=$app --key=public_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
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 "
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue