mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
moved order
This commit is contained in:
+15
-16
@@ -129,22 +129,6 @@ function errors() {
|
|||||||
echo "${ERRCODE}" >> /tmp/vara_failures
|
echo "${ERRCODE}" >> /tmp/vara_failures
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_vara () {
|
|
||||||
|
|
||||||
if [[ OSCN = vanessa ]]; then
|
|
||||||
install_vara_mint21
|
|
||||||
elif [[ OSCN = vanessa ]]; then
|
|
||||||
install_vara_mint20.3
|
|
||||||
elif [[ OSCN = bullseye ]] && [[ $(uname -m) = aarch64 ]]; then
|
|
||||||
install_vara_pi64
|
|
||||||
elif [[ OSCN = bullseye ]] && [[ $(uname -m) = armv7l ]]; then
|
|
||||||
install_vara_pi_bullseye
|
|
||||||
elif [[ OSCN = buster ]]; then
|
|
||||||
install_vara_pi_buster
|
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function install_vara_mint21() {
|
function install_vara_mint21() {
|
||||||
|
|
||||||
echo "Wine needs to be installed in order to run VARA on Linux. Would you like me to attempt to do this now?" | yad \
|
echo "Wine needs to be installed in order to run VARA on Linux. Would you like me to attempt to do this now?" | yad \
|
||||||
@@ -246,6 +230,21 @@ fi
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_vara () {
|
||||||
|
|
||||||
|
if [[ OSCN = vanessa ]]; then
|
||||||
|
install_vara_mint21
|
||||||
|
elif [[ OSCN = vanessa ]]; then
|
||||||
|
install_vara_mint20.3
|
||||||
|
elif [[ OSCN = bullseye ]] && [[ $(uname -m) = aarch64 ]]; then
|
||||||
|
install_vara_pi64
|
||||||
|
elif [[ OSCN = bullseye ]] && [[ $(uname -m) = armv7l ]]; then
|
||||||
|
install_vara_pi_bullseye
|
||||||
|
elif [[ OSCN = buster ]]; then
|
||||||
|
install_vara_pi_buster
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user