Vara attempt

Removed autoremoval of source directories
This commit is contained in:
tb14
2022-11-05 12:41:10 -05:00
parent 3ef1eab0c2
commit 66ac1e6fb3
3 changed files with 112 additions and 270 deletions
+30 -30
View File
@@ -630,9 +630,9 @@ sudo ldconfig ||
{ ERRCODE="ldconfig failed"; errors; return; }
#Cleanup space from compiling
if hash rigctld 2>/dev/null; then
sudo rm -r $USERDIR/hamlib-${NEWHAMLIB}
fi
#if hash rigctld 2>/dev/null; then
# sudo rm -r $USERDIR/hamlib-${NEWHAMLIB}
#fi
fi
@@ -685,9 +685,9 @@ install ||
fi
#Cleanup space from compiling
if hash fldigi 2>/dev/null; then
sudo rm -r $USERDIR/fldigi-${NEWFLDIGI}
fi
#if hash fldigi 2>/dev/null; then
# sudo rm -r $USERDIR/fldigi-${NEWFLDIGI}
#fi
fi
}
@@ -721,9 +721,9 @@ install ||
fi
#Cleanup space from compiling
if hash flmsg 2>/dev/null; then
sudo rm -r $USERDIR/flmsg-${NEWFLMSG}
fi
#if hash flmsg 2>/dev/null; then
# sudo rm -r $USERDIR/flmsg-${NEWFLMSG}
#fi
fi
}
@@ -757,9 +757,9 @@ install ||
fi
#Cleanup space from compiling
if hash flamp 2>/dev/null; then
sudo rm -r $USERDIR/flamp-${NEWFLAMP}
fi
#if hash flamp 2>/dev/null; then
# sudo rm -r $USERDIR/flamp-${NEWFLAMP}
#fi
fi
}
@@ -793,9 +793,9 @@ install ||
fi
#Cleanup space from compiling
if hash flrig 2>/dev/null; then
sudo rm -r $USERDIR/flrig-${NEWFLRIG}
fi
#if hash flrig 2>/dev/null; then
# sudo rm -r $USERDIR/flrig-${NEWFLRIG}
#fi
fi
}
@@ -833,9 +833,9 @@ install ||
fi
#Cleanup space from compiling
if hash flwrap 2>/dev/null; then
sudo rm -r $USERDIR/flwrap-${NEWFLWRAP}
fi
#if hash flwrap 2>/dev/null; then
# sudo rm -r $USERDIR/flwrap-${NEWFLWRAP}
#fi
fi
fi
}
@@ -1170,9 +1170,9 @@ cd arim-${NEWARIM} ||
{ ERRCODE="Failed to compile ARIM"; errors; return; }
#Cleanup space from compiling
if hash arim 2>/dev/null; then
sudo rm -r $USERDIR/arim-${NEWARIM}
fi
#if hash arim 2>/dev/null; then
# sudo rm -r $USERDIR/arim-${NEWARIM}
#fi
fi
}
@@ -1204,9 +1204,9 @@ cd garim-${NEWGARIM} ||
{ ERRCODE="Failed to compile GARIM"; errors; return; }
#Cleanup space from compiling
if hash garim 2>/dev/null; then
sudo rm -r $USERDIR/garim-${NEWGARIM}
fi
#if hash garim 2>/dev/null; then
# sudo rm -r $USERDIR/garim-${NEWGARIM}
#fi
fi
}
@@ -1428,9 +1428,9 @@ WSJTXDIR=$(echo $WSJTXPKG | sed 's/.tgz//')
#Cleanup space from compiling
if hash wsjtx 2>/dev/null; then
sudo rm -r $USERDIR/$WSJTXDIR
fi
#if hash wsjtx 2>/dev/null; then
# sudo rm -r $USERDIR/$WSJTXDIR
#fi
fi
}
@@ -1510,9 +1510,9 @@ if [[ ${JS8CALLVER} == ${NEWJS8CALLVER} ]]; then
#Cleanup space from compiling
if hash js8call 2>/dev/null; then
sudo rm -r $USERDIR/js8call
fi
#if hash js8call 2>/dev/null; then
# sudo rm -r $USERDIR/js8call
#fi
fi
}