Vara working on mint; shell for testing on pi

Setup Script sudo keepalive for Mint installs
This commit is contained in:
tb14
2022-11-07 00:07:36 -06:00
parent 83b1e37714
commit 17dc294d4d
4 changed files with 33 additions and 5 deletions
+2 -2
View File
@@ -170,12 +170,12 @@ fi
function confirm_os() {
if [[ $OSCN =~ buster|bullseye|una|vanessa ]]; then
if [[ $OSCN =~ una|vanessa ]]; then
echo "Continuing with install"
else
yad --image=$DIR/images/corps-icon.png --center \
--title "Not Supported OS" \
--text "::: Exiting due to unsupported OS. This script has only been tested on Mint 21 at this time." ${r} ${c}
--text "::: Exiting due to unsupported OS. This script has only been tested on Mint 20.3 and 21 at this time." ${r} ${c}
exit 1
fi
}