From 7f43e1daa406bfdcf7b7f209710fd187110075d2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 22 Apr 2021 18:40:00 +0200 Subject: [PATCH] Install deb files with dependencies -f flag was missing for apt-get --- scripts/install | 6 +++--- scripts/restore | 6 +++--- scripts/upgrade | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index 6f9cc09..ffc60ea 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/restore b/scripts/restore index 4a31ec8..d206cbd 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 852b3b5..fd0b38a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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