mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user