1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Fix linter warnings

This commit is contained in:
ericgaspar 2020-12-04 12:11:13 +01:00
parent 4d1c880e0c
commit 6d6fc194a8
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 6 additions and 8 deletions

View file

@ -16,8 +16,6 @@
multi_instance=0 multi_instance=0
port_already_use=0 port_already_use=0
change_url=0 change_url=0
;;; Levels
Level 5=auto
;;; Options ;;; Options
Email= Email=
Notification=none Notification=none

View file

@ -48,8 +48,8 @@
"fr": "Est-ce un site public ?" "fr": "Est-ce un site public ?"
}, },
"help": { "help": {
"en": "You must activate public site if you want to connect a client player to Navidrome. This can be changed later via the webadmin.", "en": "If enabled, Invidious will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Vous devez activer site public si vous souhaitez connecter un lecteur client à Navidrome. Vous pourrez changer ceci plus tard via la webadmin." "fr": "Si cette case est cochée, Invidious sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
}, },
"default": true "default": true
}, },

View file

@ -188,7 +188,7 @@ chmod 0644 /etc/logrotate.d/$app
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Invidious is an alternative front-end to YouTube" yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -100,14 +100,14 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
ynh_script_progression --message="Restoring the systemd configuration..." --weight=5 ynh_script_progression --message="Restoring the systemd configuration..." --weight=5
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service systemctl enable $app.service --quiet
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Invidious is an alternative front-end to YouTube" yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -150,7 +150,7 @@ chmod 0644 /etc/logrotate.d/$app
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description "Invidious is an alternative front-end to YouTube" yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE