mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
various
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
################################################################################
|
||||
####################### AmRRON Vara Setup v.1.2.3 ######################
|
||||
####################### AmRRON Vara Setup v.1.2.4 ######################
|
||||
####################### Created by TB-14 ######################
|
||||
####################### 06 JUL 2025 ######################
|
||||
####################### 04 OCT 2025 ######################
|
||||
################################################################################
|
||||
################################################################################
|
||||
|
||||
@@ -185,7 +185,7 @@ tested.\n\nThis installer has been tested on Linux Mint 21.3 and 22. It should
|
||||
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" ["21.2"]="victoria" ["21.3"]="virginia" ["22"]="wilma" ["22.1"]="xia" ["24.04"]="noble" ["25.04"]="plucky" )
|
||||
["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" ["22"]="wilma" ["22.1"]="xia" ["22.2"]="zara" ["24.04"]="noble" ["25.04"]="plucky" )
|
||||
OSCN=${VER_MAP["${VER}"]}
|
||||
|
||||
fi
|
||||
@@ -193,7 +193,7 @@ tested.\n\nThis installer has been tested on Linux Mint 21.3 and 22. It should
|
||||
case ${PLAT} in
|
||||
Raspbian|Debian|Linuxmint|Ubuntu)
|
||||
case ${OSCN} in
|
||||
buster|bullseye|una|vanessa|vera|victoria|virginia|wilma|xia|noble|plucky)
|
||||
buster|bullseye|una|vanessa|vera|victoria|virginia|wilma|xia|zara|noble|plucky)
|
||||
;;
|
||||
*)
|
||||
maybeOS_Support
|
||||
@@ -229,7 +229,7 @@ fi
|
||||
|
||||
function confirm_os() {
|
||||
|
||||
if [[ $OSCN =~ bullseye|una|vanessa|vera|victoria|virginia|wilma|xia|noble|plucky ]]; then
|
||||
if [[ $OSCN =~ bullseye|una|vanessa|vera|victoria|virginia|wilma|xia|zara|noble|plucky ]]; then
|
||||
echo "Continuing with install"
|
||||
else
|
||||
yad --image=$DIR/images/corps-icon.png --center \
|
||||
@@ -379,7 +379,7 @@ if [[ $OSCN = una ]]; then
|
||||
sudo apt install -y curl libcurl4-openssl-dev libssl-dev ||
|
||||
{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; }
|
||||
|
||||
elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma|xia|noble|plucky) ]]; then
|
||||
elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma|xia|zara|noble|plucky) ]]; then
|
||||
|
||||
sudo apt install -y curl p7zip-full winbind||
|
||||
{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; }
|
||||
@@ -451,7 +451,7 @@ if [[ $OSCN = una ]]; then
|
||||
sudo apt install -y curl libcurl4-openssl-dev libssl-dev ||
|
||||
{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; }
|
||||
|
||||
elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma|xia|noble|plucky) ]]; then
|
||||
elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma|xia|zara|noble|plucky) ]]; then
|
||||
|
||||
sudo apt install -y curl p7zip-full winbind||
|
||||
{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; }
|
||||
@@ -509,7 +509,7 @@ unzip VARA\ FM\ $VARAFMVER*.zip ||
|
||||
function install_varac() {
|
||||
|
||||
|
||||
if [[ $OSCN =~ wilma|xia|noble|plucky ]]; then
|
||||
if [[ $OSCN =~ wilma|xia|zara|noble|plucky ]]; then
|
||||
|
||||
if [[ ! -f $HOME/.wine/drive_c/windows/system32/pdh.dll ]]; then
|
||||
cd $HOME/Downloads && wget http://files.k6eta.com/pdh.dll.zip ||
|
||||
|
||||
Reference in New Issue
Block a user