Updated version checking for 21.3 Virginia. Testing updates on Vara Install script.

This commit is contained in:
tangobravo14
2024-02-26 06:59:34 +00:00
parent ef7997e8e3
commit 6ed5075472
6 changed files with 29 additions and 27 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
#!/bin/bash
################################################################################
################################################################################
######################## AmRRON Setup Script v0.7.5.1 ########################
######################## AmRRON Setup Script v0.7.5.2 ########################
######################## Created by TB-14 ########################
######################## 28 MAY 23 ########################
######################## 26 Feb 2024 ########################
################################################################################
################################################################################
#
@@ -575,7 +575,7 @@ tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye
VER=$(grep "VERSION_ID" /etc/os-release | awk -F "=" '{print $2}' | tr -d '"')
declare -A VER_MAP=(["11"]="bullseye" ["10"]="buster" ["9"]="stretch" ["8"]="jessie" ["16.04"]="xenial" \
["14.04"]="trusty" ["18.04"]="bionic" ["18.10"]="cosmic" ["19.04"]="disco" ["19.10"]="eoan" ["20.04"]="focal" ["18"]="sara" ["18.1"]="serena" \
["18.2"]="sonya" ["18.3"]="sylvia" ["19"]="tara" ["19.1"]="tessa" ["19.2"]="tina" ["19.3"]="tricia" ["20"]="ulyana" ["20.3"]="una" ["21"]="vanessa" ["21.1"]="vera" )
["18.2"]="sonya" ["18.3"]="sylvia" ["19"]="tara" ["19.1"]="tessa" ["19.2"]="tina" ["19.3"]="tricia" ["20"]="ulyana" ["20.3"]="una" ["21"]="vanessa" ["21.1"]="vera" ["21.2"]="victoria" ["21.3"]="virginia" )
OSCN=${VER_MAP["${VER}"]}
fi
@@ -583,7 +583,7 @@ tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye
case ${PLAT} in
Raspbian|Debian|Linuxmint)
case ${OSCN} in
buster|bullseye|una|vanessa|vera)
buster|bullseye|una|vanessa|vera|victoria|virginia)
;;
*)
maybeOS_Support
@@ -3027,7 +3027,7 @@ if [[ $VCVER == $NEWVC ]]; then
elif [[ $OSCN = "bullseye" ]]; then
VCLINK=$"https://launchpad.net/veracrypt/trunk/${NEWVC}/+download/veracrypt-${NEWVC}-Debian-11-${SYS}.deb"
elif [[ $OSCN =~ (vanessa|vera|victoria) ]]; then
elif [[ $OSCN =~ (vanessa|vera|victoria|virginia) ]]; then
VCLINK=$"https://launchpad.net/veracrypt/trunk/${NEWVC}/+download/veracrypt-${NEWVC}-Ubuntu-22.04-${SYS}.deb"
elif [[ $OSCN =~ (ulyana|ulyssa|uma|una) ]]; then