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