From 2b30fb0e0a5f1f32735eee5e1f99437a59a22025 Mon Sep 17 00:00:00 2001 From: tb14 Date: Sat, 7 Dec 2019 01:00:24 -0800 Subject: [PATCH] tweaking veracrypt function --- 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 afc6ae9..65d8f42 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -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 ||