Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Update install.sh #705

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion shared/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down