Skip to content

Commit 2af6c12

Browse files
authored
Merge pull request #3598 from cmitu/kodi-jammed
kodi: fix installation on Ubuntu 22.04 and later
2 parents dfe0367 + 89c1152 commit 2af6c12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scriptmodules/ports/kodi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ function install_bin_kodi() {
5757

5858
# not all the kodi packages may be available depending on repository
5959
# so we will check and install what's available
60-
local all_pkgs=(kodi kodi-peripheral-joystick kodi-inputstream-adaptive kodi-inputstream-rtmp kodi-vfs-libarchive kodi-vfs-sftp kodi-vfs-nfs)
60+
local all_pkgs=(kodi kodi-peripheral-joystick kodi-inputstream-adaptive kodi-vfs-libarchive kodi-vfs-sftp kodi-vfs-nfs)
61+
compareVersions "$__os_ubuntu_ver" lt 22.04 && all_pkgs+=(kodi-inputstream-rtmp)
6162
local avail_pkgs=()
6263
local pkg
6364
for pkg in "${all_pkgs[@]}"; do

0 commit comments

Comments
 (0)