1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/backdrop_ynh.git synced 2024-09-03 20:36:14 +02:00

Fix linter warnings

This commit is contained in:
ericgaspar 2020-12-14 08:54:03 +01:00
parent 737e4c5fed
commit b1d77e1e14
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 5 additions and 14 deletions

View file

@ -13,11 +13,8 @@
upgrade=1
backup_restore=1
multi_instance=1
incorrect_path=1
port_already_use=0
change_url=1
;;; Levels
Level 5=auto
;;; Options
Email=
Notification=none

View file

@ -6,7 +6,7 @@
"en": "Easy-to-use CMS for building professional websites",
"fr": "CMS facile à utiliser pour créer des sites Web professionnels"
},
"version": "1.17.4~ynh1",
"version": "1.17.4~ynh2",
"url": "https://backdropcms.org/",
"license": "GPL-2.0",
"maintainer": {
@ -50,6 +50,10 @@
"en": "Is it a public site?",
"fr": "Est-ce un site public ?"
},
"help": {
"en": "If enabled, Backdrop will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, Backdrop sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
}
]

View file

@ -33,9 +33,6 @@ ynh_script_progression --message="Validating installation parameters..." --weigh
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax
path_url=$(ynh_normalize_url_path $path_url)
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url

View file

@ -61,13 +61,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# CHECK THE PATH
#=================================================
# Normalize the URL path syntax
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================