Added install method for ubuntu

This commit is contained in:
Price Hiller 2021-12-30 12:21:32 -06:00
parent 07fd24bdc3
commit 0c78f3ca77

View File

@ -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