helm/vcs/hg/install

14 lines
296 B
Plaintext
Raw Normal View History

2016-10-19 07:56:37 -07:00
#!/bin/bash
2017-04-25 16:54:39 -07:00
case $OSTYPE in
2016-10-19 07:56:37 -07:00
darwin*)
brew install mercurial
;;
linux*)
if [ -f /etc/arch-release ]; then
2017-04-25 16:54:39 -07:00
sudo pacman --needed --noconfirm -S mercurial
2016-10-19 07:56:37 -07:00
elif [ -f /etc/debian-version ]; then
sudo apt-get -y mercurial
fi
esac