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

Fix: Ensure dependency over the jellyfin packages on a hard version to prevent upgrades

This commit is contained in:
Salamandar 2022-02-20 10:55:08 +01:00 committed by Salamandar
parent fca163a3be
commit acb61d8922

View file

@ -93,6 +93,14 @@ install_jellyfin_packages() {
ynh_exec_warn_less dpkg --force-confdef --force-confnew -i $tempdir/jellyfin-ffmpeg.deb
ynh_exec_warn_less dpkg --force-confdef --force-confnew -i $tempdir/jellyfin-server.deb
ynh_exec_warn_less dpkg --force-confdef --force-confnew -i $tempdir/jellyfin-web.deb
# The doc says it should be called only once,
# but the code says multiple calls are supported.
# Also, they're already installed so that should be quasi instantaneous.
ynh_install_app_dependencies \
jellyfin-ffmpeg="$ffmpeg_pkg_version" \
jellyfin-server="$pkg_version" \
jellyfin-web="$pkg_version"
}
#=================================================