Skip to content

Instantly share code, notes, and snippets.

View k0kk0k's full-sized avatar

Danil Ushakov k0kk0k

View GitHub Profile
#! /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