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

upgrade: add --allow-downgrade because apt decided bullseye > bookworm

This commit is contained in:
Salamandar 2024-08-02 13:34:01 +02:00
parent 19946c0359
commit f703cb514c

View file

@ -44,8 +44,8 @@ install_jellyfin_packages() {
ynh_setup_source --dest_dir="$tempdir" --source_id="server_$debian"
# Install the packages
ynh_package_install \
# Install the packages. Allow downgrades because apt decided bullseye > bookworm
ynh_package_install --allow-downgrades \
"$tempdir/jellyfin-web.deb" \
"$tempdir/jellyfin-server.deb"
@ -54,8 +54,8 @@ install_jellyfin_packages() {
ynh_package_remove "jellyfin-ffmpeg5"
fi
# Install the packages
ynh_package_install \
# Install the packages. Allow downgrades because apt decided bullseye > bookworm
ynh_package_install --allow-downgrades \
"${tempdir}/jellyfin-ffmpeg6.deb"
# The doc says it should be called only once,