mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
Update install
This commit is contained in:
parent
fcdf89fc28
commit
f346fca516
1 changed files with 20 additions and 4 deletions
|
@ -79,12 +79,13 @@ ynh_print_info "Installing dependencies..."
|
||||||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||||
|
|
||||||
wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add -
|
#wget -O - https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add -
|
||||||
echo "deb [arch=amd64] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" >> /etc/apt/sources.list.d/jellyfin.list
|
#echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" | tee /etc/apt/sources.list.d/jellyfin.list
|
||||||
|
#echo "deb [arch=amd64] https://repo.jellyfin.org/debian $( lsb_release -c -s ) main" >> /etc/apt/sources.list.d/jellyfin.list
|
||||||
|
|
||||||
ynh_package_update
|
#ynh_package_update
|
||||||
|
|
||||||
ynh_install_app_dependencies jellyfin
|
#ynh_install_app_dependencies jellyfin
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# FIND AND OPEN A PORT
|
# FIND AND OPEN A PORT
|
||||||
|
@ -101,6 +102,21 @@ port=$(ynh_find_port 8096)
|
||||||
yunohost firewall allow --no-upnp TCP $port 2>&1
|
yunohost firewall allow --no-upnp TCP $port 2>&1
|
||||||
ynh_app_setting_set $app port $port
|
ynh_app_setting_set $app port $port
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
ynh_app_setting_set $app final_path $final_path
|
||||||
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
|
|
||||||
|
#==============================================
|
||||||
|
# INSTALL JELLYFIN
|
||||||
|
#==============================================
|
||||||
|
|
||||||
|
dpkg --install $final_path/jellyfin.deb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue