helm/vcs/hg/install
2016-10-19 16:56:37 +02:00

16 lines
323 B
Bash
Executable file

#!/bin/bash
command -v hg >/dev/null && exit
case "$OSTYPE" in
darwin*)
brew install mercurial
;;
linux*)
if [ -f /etc/arch-release ]; then
sudo pacman --noconfirm -S mercurial
elif [ -f /etc/debian-version ]; then
sudo apt-get -y mercurial
fi
esac