mirror of
https://github.com/YunoHost-Apps/tvheadend_ynh.git
synced 2024-10-01 13:34:50 +02:00
Fix linter
This commit is contained in:
parent
ea5eb155d3
commit
873564c4f5
3 changed files with 5 additions and 6 deletions
|
@ -94,7 +94,7 @@ else
|
||||||
tvheadend_deb_url="$tvheadend_deb_x86"
|
tvheadend_deb_url="$tvheadend_deb_x86"
|
||||||
fi
|
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
|
# INSTALL TVHEADEND DEB PACKAGE
|
||||||
|
|
|
@ -50,7 +50,6 @@ then
|
||||||
ynh_die --message="Port $stream_port already open (and maybe used by another application)"
|
ynh_die --message="Port $stream_port already open (and maybe used by another application)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
|
|
||||||
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $stream_port
|
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $stream_port
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -80,7 +79,7 @@ else
|
||||||
tvheadend_deb_url="$tvheadend_deb_x86"
|
tvheadend_deb_url="$tvheadend_deb_x86"
|
||||||
fi
|
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
|
# 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
|
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
|
# RELOAD NGINX
|
||||||
|
|
|
@ -103,7 +103,7 @@ then
|
||||||
tvheadend_deb_url="$tvheadend_deb_x86"
|
tvheadend_deb_url="$tvheadend_deb_x86"
|
||||||
fi
|
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
|
# INSTALL TVHEADEND DEB PACKAGE
|
||||||
|
@ -147,7 +147,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
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="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
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Add table
Reference in a new issue