Added install method for ubuntu
This commit is contained in:
parent
07fd24bdc3
commit
0c78f3ca77
@ -15,7 +15,11 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
|||||||
echo "Installing ${package}"
|
echo "Installing ${package}"
|
||||||
brew install "${package}" 1>/dev/null 2>&1
|
brew install "${package}" 1>/dev/null 2>&1
|
||||||
done
|
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
|
fi
|
||||||
|
|
||||||
if [[ ! -d "${PACKER_NVIM_INSTALL_PATH}" ]]; then
|
if [[ ! -d "${PACKER_NVIM_INSTALL_PATH}" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user