This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
UBUNTUVERSION=$(lsb_release -r -s | cut -d '.' -f 1) | |
if (($UBUNTUVERSION < 16)); then | |
echo "Your version of Ubuntu is not supported. Must have Ubuntu 16.04 and up. Aborting installation script..." | |
exit 1 | |
elif (($UBUNTUVERSION < 18)); then | |
DISTRO='xenial' | |
else |