mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
Fix upgrade again
This commit is contained in:
parent
4a04c7a6cf
commit
44de5c4080
1 changed files with 7 additions and 1 deletions
|
@ -37,9 +37,15 @@ install_jellyfin_packages() {
|
|||
# Install the packages
|
||||
ynh_package_install \
|
||||
"$tempdir/jellyfin-web.deb" \
|
||||
"$tempdir/jellyfin-ffmpeg6.deb" \
|
||||
"$tempdir/jellyfin-server.deb"
|
||||
|
||||
# We need to workaround yunohoost passing --no-remove to replace jellyfin-ffmpeg5...
|
||||
if ynh_package_is_installed "jellyfin-ffmpeg5"; then
|
||||
ynh_package_remove "jellyfin-ffmpeg5"
|
||||
fi
|
||||
ynh_package_install \
|
||||
"$tempdir/jellyfin-ffmpeg6.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.
|
||||
|
|
Loading…
Add table
Reference in a new issue