mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Fixing lint and typos
This commit is contained in:
parent
dc97f2ff7c
commit
6b3d880be3
3 changed files with 8 additions and 12 deletions
|
@ -9,17 +9,17 @@
|
||||||
"version": "0.2~ynh1",
|
"version": "0.2~ynh1",
|
||||||
"url": "https://dont-code.net",
|
"url": "https://dont-code.net",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "free",
|
"license": "AGPL-3.0-or-later",
|
||||||
"website": "https://dont-code.net",
|
"website": "https://dont-code.net",
|
||||||
"demo": "https://dont-code.net/apps.html",
|
"demo": "https://dont-code.net/apps.html",
|
||||||
"admindoc": "https://dont-code.net/developers.html",
|
"admindoc": "https://dont-code.net/developers.html",
|
||||||
"userdoc": "https://dont-code.net/news.html",
|
"userdoc": "https://dont-code.net/news.html",
|
||||||
"code": "https://github.com/dont-code"
|
"code": "https://github.com/dont-code"
|
||||||
},
|
},
|
||||||
"license": "free",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "Gerard Collin",
|
"name": "Dont-code Team",
|
||||||
"email": "ger@collin.best"
|
"email": "developer@dont-code.net"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 11.0.0"
|
"yunohost": ">= 11.0.0"
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{
|
{
|
||||||
"name": "public_key",
|
"name": "public_key",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"optional": "true",
|
"optional": true,
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "SSH Public key to allow service updates as part of delivery process, leave empty to disable.",
|
"en": "SSH Public key to allow service updates as part of delivery process, leave empty to disable.",
|
||||||
"fr": "Clef publique SSH permettant la mise à jour des services via une deploiement automatique, inactif si non renseigné."
|
"fr": "Clef publique SSH permettant la mise à jour des services via une deploiement automatique, inactif si non renseigné."
|
||||||
|
@ -53,11 +53,7 @@
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true
|
||||||
"ask": {
|
|
||||||
"en": "These services are called by the Dont-code applications, so they should stay public",
|
|
||||||
"fr": "Merci de laisser ces services public afin de pouvoir être appelé par les applications Dont-code"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,7 +119,7 @@ ynh_install_mongo --mongo_version=$mongo_version
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE NGINX CONFIGURATION
|
# RESTORE THE NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Restoring the NGINX web server configuration..." --time --weight=1
|
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ ynh_add_nginx_config
|
||||||
# The document path has changed => Copy all the files
|
# The document path has changed => Copy all the files
|
||||||
|
|
||||||
if [ "$document_path" != "/usr/share/nginx/html/$app/docs" ]; then
|
if [ "$document_path" != "/usr/share/nginx/html/$app/docs" ]; then
|
||||||
ynh_script_progression --message="Moving the document path to its new dir" --time --weight=1
|
ynh_script_progression --message="Moving the document path to its new dir" --weight=8
|
||||||
|
|
||||||
old_doc_path=$document_path
|
old_doc_path=$document_path
|
||||||
document_path=/usr/share/nginx/html/$app/docs
|
document_path=/usr/share/nginx/html/$app/docs
|
||||||
|
|
Loading…
Add table
Reference in a new issue