tweaking veracrypt function

This commit is contained in:
tb14
2019-12-07 01:00:24 -08:00
parent f964fd4fb5
commit 2b30fb0e0a
+3 -3
View File
@@ -2440,8 +2440,8 @@ NEWVC_lower=$(echo $NEWVC | tr '[:upper:]' '[:lower:]')
fi
VCFILE=$(echo $VCLINK | awk -F '/' '{print $9}')
VCFILE_name=$(echo $VCFILE | awk -F '.tar.bz2' '{print $1}')
VCFILE=$(echo ${VCLINK} | awk -F '/' '{print $9}')
VCFILE_name=$(echo ${VCFILE} | awk -F '.tar.bz2' '{print $1}')
cd $SECDIR && wget -N ${VCLINK} ||
@@ -2449,7 +2449,7 @@ NEWVC_lower=$(echo $NEWVC | tr '[:upper:]' '[:lower:]')
if [[ ${PLAT} = "Raspbian" ]]; then
tar xvf $VCFILE && rm $VCFILE ||
tar xvf ${VCFILE} && rm ${VCFILE} ||
{ ERRCODE="Failed to extract Veracrypt"; errors; return; }
rm *-console-arm ||