From 9b8d8a302e5f05dbafd200ef256c89c688602463 Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 10 May 2021 18:02:04 -0400 Subject: [PATCH] Add support for legacy versions on Ubuntu/Debian --- installJRMC | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index e341e5d..0f3cec5 100755 --- a/installJRMC +++ b/installJRMC @@ -492,9 +492,7 @@ _installMCFromRepo() { elif [[ "$ID" =~ ^(debian|ubuntu|linuxmint)$ ]]; then _installPackage wget wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | _ifSudo apt-key add - > /dev/null 2>&1 - _bash_cmd 'cat <<- EOF > /etc/apt/sources.list.d/jriver.list - deb [arch=amd64,i386,armhf] http://dist.jriver.com/latest/mediacenter/ buster main - EOF' + _ifSudo wget "http://dist.jriver.com/latest/mediacenter/mediacenter$mversion.list" -O "/etc/apt/sources.list.d/mediacenter$mversion.list" fi } _addRepo