1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Install deb files with dependencies

-f flag was missing for apt-get
This commit is contained in:
tituspijean 2021-04-22 18:40:00 +02:00
parent 51800683d1
commit 7f43e1daa4
3 changed files with 9 additions and 9 deletions

View file

@ -89,9 +89,9 @@ ynh_setup_source_2 --dest_dir=$tempdir --source_id=server
ynh_setup_source_2 --dest_dir=$tempdir --source_id=web
# Install the packages
ynh_exec_warn_less apt-get install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-web.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y
#=================================================
# NGINX CONFIGURATION

View file

@ -103,9 +103,9 @@ ynh_setup_source_2 --dest_dir=$tempdir --source_id=server
ynh_setup_source_2 --dest_dir=$tempdir --source_id=web
# Install the packages
ynh_exec_warn_less apt-get install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-web.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y
#=================================================
# INTEGRATE SERVICE IN YUNOHOST

View file

@ -116,9 +116,9 @@ ynh_setup_source_2 --dest_dir=$tempdir --source_id=server
ynh_setup_source_2 --dest_dir=$tempdir --source_id=web
# Install the packages
ynh_exec_warn_less apt-get install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get install $tempdir/jellyfin-web.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-ffmpeg.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-server.deb -y
ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y
#=================================================
# CREATE DEDICATED USER