1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/retroarch_ynh.git synced 2024-09-03 20:16:12 +02:00

Fix linter warnings

This commit is contained in:
Krakinou 2021-05-09 14:04:51 +02:00
parent 804d0e5125
commit 7d782c2658
5 changed files with 6 additions and 7 deletions

View file

@ -19,7 +19,7 @@
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
port_already_use=0 #No port required port_already_use=0 #No port required
change_url=1 change_url=0 #not yet done
;;; Levels ;;; Levels
# If the level 5 (Package linter) is forced to 1. Please add justifications here. # If the level 5 (Package linter) is forced to 1. Please add justifications here.
Level 5=auto Level 5=auto

View file

@ -15,4 +15,4 @@
--- ---
*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results* *If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results*
[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/REPLACEBYYOURAPP_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/REPLACEBYYOURAPP_ynh%20PR-NUM-%20(USERNAME)/) [![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/retroarch_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/retroarch_ynh%20PR-NUM-%20(USERNAME)/)

View file

@ -37,7 +37,7 @@ ynh_remove_app_dependencies
# REMOVE CRONJOB # REMOVE CRONJOB
#================================================= #=================================================
ynh_secure_remove --file="/etc/cron.d/$app ynh_secure_remove --file="/etc/cron.d/$app"
#================================================= #=================================================
# REMOVE APP MAIN DIR # REMOVE APP MAIN DIR

View file

@ -32,7 +32,6 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain) domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path) path_url=$(ynh_app_setting_get --app=$app --key=path)
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
#================================================= #=================================================
# CHECK IF THE APP CAN BE RESTORED # CHECK IF THE APP CAN BE RESTORED
@ -85,7 +84,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --time --weight=
# Define and install dependencies # Define and install dependencies
#Dependencies are not really required as this is just to unzip the 7z file #Dependencies are not really required as this is just to unzip the 7z file
#ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
#However, npm IS required to run the coffeescript #However, npm IS required to run the coffeescript
ynh_install_nodejs --nodejs_version=10 ynh_install_nodejs --nodejs_version=10
ynh_use_nodejs ynh_use_nodejs

View file

@ -103,7 +103,7 @@ ynh_script_progression --message="Upgrading dependencies..." --time --weight=1
# Define and install dependencies # Define and install dependencies
#Dependencies are not really required as this is just to unzip the 7z file #Dependencies are not really required as this is just to unzip the 7z file
#ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
#However, npm IS required to run the coffeescript #However, npm IS required to run the coffeescript
ynh_install_nodejs --nodejs_version=10 ynh_install_nodejs --nodejs_version=10
ynh_use_nodejs ynh_use_nodejs