mirror of
https://github.com/YunoHost-Apps/20euros_ynh.git
synced 2024-09-03 18:05:53 +02:00
Fix linter warning
This commit is contained in:
parent
58f7398ec0
commit
39051025eb
3 changed files with 9 additions and 18 deletions
|
@ -14,8 +14,5 @@
|
||||||
upgrade=1
|
upgrade=1
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Levels
|
|
||||||
Level 5=auto
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "20euros",
|
"name": "20 euros",
|
||||||
"id": "20euros",
|
"id": "20euros",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "A 2048 variant with Euro coins and notes.",
|
"en": "A 2048 variant with Euro coins and notes.",
|
||||||
"fr": "Une variante 2048 avec pièces et billets en euros."
|
"fr": "Une variante 2048 avec pièces et billets en euros."
|
||||||
},
|
},
|
||||||
"version": "1.0~ynh2",
|
"version": "1.0~ynh3",
|
||||||
"url": "https://github.com/jatekos101/20euros",
|
"url": "https://github.com/jatekos101/20euros",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -26,8 +26,8 @@
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a domain for 20euros",
|
"en": "Choose a domain for 20 euros",
|
||||||
"fr": "Choisissez un nom de domaine pour 20euros"
|
"fr": "Choisissez un nom de domaine pour 20 euros"
|
||||||
},
|
},
|
||||||
"example": "domain.org"
|
"example": "domain.org"
|
||||||
},
|
},
|
||||||
|
@ -35,8 +35,8 @@
|
||||||
"name": "path",
|
"name": "path",
|
||||||
"type": "path",
|
"type": "path",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a path for 20euros",
|
"en": "Choose a path for 20 euros",
|
||||||
"fr": "Choisissez un chemin pour 20euros"
|
"fr": "Choisissez un chemin pour 20 euros"
|
||||||
},
|
},
|
||||||
"example": "/20euros",
|
"example": "/20euros",
|
||||||
"default": "/20euros"
|
"default": "/20euros"
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
"fr": "Est-ce un jeu public ?"
|
"fr": "Est-ce un jeu public ?"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"en": "If enabled, 20euros will be accessible by people who doesn’t have an account. This can be changed later via the webadmin.",
|
"en": "If enabled, 20 euros will be accessible by people who doesn’t have an account. This can be changed later via the webadmin.",
|
||||||
"fr": "Si cette case est cochée, 20euros sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
"fr": "Si cette case est cochée, 20 euros sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||||||
},
|
},
|
||||||
"default": true
|
"default": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,12 +60,6 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CHECK THE PATH
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
path_url=$(ynh_normalize_url_path --path_url=$path_url)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue