diff --git a/install.bash b/install.bash index 1e03dd8..47e12e5 100644 --- a/install.bash +++ b/install.bash @@ -15,7 +15,11 @@ if [[ "$OSTYPE" == "darwin"* ]]; then echo "Installing ${package}" brew install "${package}" 1>/dev/null 2>&1 done - +else + OS_RELEASE="$(grep ^NAME= /etc/os-release | cut -d "=" -f2 | tr -d '"')" + if [[ "${OS_RELEASE}" = *"Ubuntu"* ]]; then + apt install -y "${required_packages[@]}" + fi fi if [[ ! -d "${PACKER_NVIM_INSTALL_PATH}" ]]; then