moved order

This commit is contained in:
tb14
2022-11-04 15:44:17 -05:00
parent 2a63e8e723
commit 7a882c86fd
+15 -16
View File
@@ -129,22 +129,6 @@ function errors() {
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() {
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
}