From 67480fc3d6dd3bbf5006025f47c0a498853d6c48 Mon Sep 17 00:00:00 2001 From: Vytenis Date: Fri, 26 Apr 2019 10:29:24 +0300 Subject: [PATCH] Update install.sh Add elementary os support --- shared/scripts/install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shared/scripts/install.sh b/shared/scripts/install.sh index 6e67e708..bdf305cb 100755 --- a/shared/scripts/install.sh +++ b/shared/scripts/install.sh @@ -60,7 +60,7 @@ main(){ debug "Detected distribution: $OS, $OS_VERSION" # Check if linux distribution is compatible? - SUPPORTED_DISTROS="ubuntu fedora arch" + SUPPORTED_DISTROS="ubuntu fedora arch elementary" if ! echo ${SUPPORTED_DISTROS} | grep -qw "$ID"; then add_report " Unsupported Linux distribution." fail @@ -127,6 +127,12 @@ main(){ success fi + if [ "$ID" = "elementary" ]; then + install_azk_ubuntu + add_user_to_docker_group + success + fi + if [ "$ID" = "arch" ]; then install_azk_arch add_user_to_docker_group