From 873564c4f59b1bfc1a2bd682612a9684a600ab1a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 20 Dec 2021 10:54:15 +0100 Subject: [PATCH] Fix linter --- scripts/install | 2 +- scripts/restore | 5 ++--- scripts/upgrade | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 9039dff..c5cac9b 100644 --- a/scripts/install +++ b/scripts/install @@ -94,7 +94,7 @@ else tvheadend_deb_url="$tvheadend_deb_x86" fi -ynh_exec_quiet "wget -q -O $tvheadend_deb_dst $tvheadend_deb_url" +ynh_exec_quiet wget -q -O $tvheadend_deb_dst $tvheadend_deb_url #================================================= # INSTALL TVHEADEND DEB PACKAGE diff --git a/scripts/restore b/scripts/restore index d51b2db..5a6150a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -50,7 +50,6 @@ then ynh_die --message="Port $stream_port already open (and maybe used by another application)" fi -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $stream_port #================================================= @@ -80,7 +79,7 @@ else tvheadend_deb_url="$tvheadend_deb_x86" fi -ynh_exec_quiet "wget -q -O $tvheadend_deb_dst $tvheadend_deb_url" +ynh_exec_quiet wget -q -O $tvheadend_deb_dst $tvheadend_deb_url #================================================= # INSTALL TVHEADEND DEB PACKAGE @@ -122,7 +121,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="TV streaming server and recorder" --needs_exposed_ports $port $stream_port +yunohost service add $app --description="TV streaming server and recorder" --needs_exposed_ports $stream_port #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index c844380..95a6595 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ then tvheadend_deb_url="$tvheadend_deb_x86" fi - ynh_exec_quiet "wget -q -O $tvheadend_deb_dst $tvheadend_deb_url" + ynh_exec_quiet wget -q -O $tvheadend_deb_dst $tvheadend_deb_url #================================================= # INSTALL TVHEADEND DEB PACKAGE @@ -147,7 +147,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="TV streaming server and recorder" --needs_exposed_ports $port $stream_port +yunohost service add $app --description="TV streaming server and recorder" --needs_exposed_ports $stream_port #================================================= # RELOAD NGINX