From e7f4dc0e18c5082cea5e0c6994d8c715bc531f78 Mon Sep 17 00:00:00 2001 From: tb14 Date: Fri, 6 Dec 2019 20:42:16 -0800 Subject: [PATCH] JS8Call does not support Ubuntu 19.10 --- AmRRON-Setup-Script.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 8403601..e593792 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1315,10 +1315,12 @@ function js8call_install() { if [[ ${PLAT} = "Raspbian" ]]; then js8call_link=$(curl -s http://files.js8call.com/latest.html | grep -o "http://files.js8call.com/[0-9].[0-9].[0-9]/js8call_[0-9].[0-9].[0-9]_armhf.deb" | head -n 1) elif [[ $(uname -m) = x86_64 ]]; then - if [[ $OSCN =~ (tara|tessa|tina|tricia|bionic|cosmic|disco|eoan|focal) ]]; then + if [[ $OSCN =~ (tara|tessa|tina|tricia|bionic|cosmic|disco) ]]; then js8call_link=$(curl -s http://files.js8call.com/latest.html | grep -o "http://files.js8call.com/[0-9].[0-9].[0-9]/js8call_[0-9].[0-9].[0-9]_18.04_amd64.deb" | head -n 1) elif [[ $OSCN =~ (sara|serena|sonya|sylvia|trusty|xenial) ]]; then js8call_link=$(curl -s http://files.js8call.com/latest.html | grep -o "http://files.js8call.com/[0-9].[0-9].[0-9]/js8call_[0-9].[0-9].[0-9]_16.04_amd64.deb" | head -n 1) + elif [[ $OSCN =~ (eoan|focal) ]]; then + { echo js8call_os >> /tmp/cleanup; return; } fi else js8call_link=$(curl -s http://files.js8call.com/latest.html | grep -o "http://files.js8call.com/[0-9].[0-9].[0-9]/js8call_[0-9].[0-9].[0-9]_i386.deb" | head -n 1) @@ -3610,6 +3612,14 @@ TEXT="You have selected the RaspAP installation but the installer did not detect your system as Raspbian. Installation skipped." + cleanupyad + + ;; + + js8call_os) + +TITLE="JS8Call Unsupported Operating System." +TEXT="JS8Call does not yet support Ubuntu 19.10." cleanupyad ;;