From c217156ebf8e4706ac619c6c2839723823c40d3e Mon Sep 17 00:00:00 2001 From: tb14 Date: Fri, 27 Jun 2025 12:17:59 -0500 Subject: [PATCH] cleanup --- AmRRON-Setup-Script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index d007563..15528fe 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1942,7 +1942,7 @@ if [[ ${JS8CALLVER} == ${NEWJS8CALLVER} ]]; then else -rm /tmp/js8call* 2>/dev/null && wget -P /tmp/ -N $NEWJS8CALLURL || +wget -P /tmp/ -N $NEWJS8CALLURL || { ERRCODE="Failed to download JS8Call"; errors; return; } if [[ ${JS8CALLVER} == "2.2.1-devel" ]]; then @@ -1961,7 +1961,7 @@ cd /tmp/ && sudo apt install -y ./$JS8CALL_DEB_NAME || { ERRCODE="Failed to install $JS8CALL_DEB_NAME"; errors; return; } rm /tmp/$JS8CALL_DEB_NAME 2>/dev/null || -{ ERRCODE="Failed to delete js8call deb file from Downloads directory"; errors; return; } +{ ERRCODE="Failed to delete js8call deb file from /tmp directory"; errors; return; } fi @@ -1969,7 +1969,7 @@ fi function js8call_2.2.0_install() { -rm /tmp/js8* 2>/dev/null && wget -P /tmp/ -N http://files.js8call.com/2.2.0/js8call_2.2.0_20.04_amd64.deb || +wget -P /tmp/ -N http://files.js8call.com/2.2.0/js8call_2.2.0_20.04_amd64.deb || { ERRCODE="Failed to download JS8Call 2.2.0"; errors; return; } if [[ ${JS8CALLVER} == "2.2.1-devel" ]]; then