1
0
Fork 0
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:
ericgaspar 2020-12-14 10:10:18 +01:00
parent 58f7398ec0
commit 39051025eb
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 9 additions and 18 deletions

View file

@ -14,8 +14,5 @@
upgrade=1
backup_restore=1
multi_instance=1
incorrect_path=1
port_already_use=0
change_url=1
;;; Levels
Level 5=auto

View file

@ -1,12 +1,12 @@
{
"name": "20euros",
"name": "20 euros",
"id": "20euros",
"packaging_format": 1,
"description": {
"en": "A 2048 variant with Euro coins and notes.",
"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",
"license": "MIT",
"maintainer": {
@ -26,8 +26,8 @@
"name": "domain",
"type": "domain",
"ask": {
"en": "Choose a domain for 20euros",
"fr": "Choisissez un nom de domaine pour 20euros"
"en": "Choose a domain for 20 euros",
"fr": "Choisissez un nom de domaine pour 20 euros"
},
"example": "domain.org"
},
@ -35,8 +35,8 @@
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for 20euros",
"fr": "Choisissez un chemin pour 20euros"
"en": "Choose a path for 20 euros",
"fr": "Choisissez un chemin pour 20 euros"
},
"example": "/20euros",
"default": "/20euros"
@ -49,8 +49,8 @@
"fr": "Est-ce un jeu public ?"
},
"help": {
"en": "If enabled, 20euros will be accessible by people who doesnt have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, 20euros sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
"en": "If enabled, 20 euros will be accessible by people who doesnt have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, 20 euros sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
}

View file

@ -60,12 +60,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# CHECK THE PATH
#=================================================
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================