Files
runner-images-sangeeth/images/linux/scripts/installers/mercurial.sh
Mikhail Timofeev 64c9751269 [Ubuntu] Migrate tests for common tools to Pester (part 3) (#2337)
* add test for Git

* Add Heroku

* Add hhvm

* Add Homebrew

* Add Julia

* Add kind

* Add Kubernetes Tools

* Remove kind and homebrew validate

* replace capital letter

* Add Leiningen

* add source to Leiningen

* Add Mercurial

* Add conda

* Add Netlify

* Add packer

* Add pollinate

* Add Pulumi

* Add Phantomjs

* Add Haveged

* Fix for kubectl

* Fix julia installation

* Add installer_script_folder env variable to run tests in brew provisioner

* Add delay after reboot

* Adjust pause settings
2020-12-25 18:03:35 +03:00

21 lines
684 B
Bash

#!/bin/bash -e
################################################################################
## File: mercurial.sh
## Desc: Installs Mercurial
################################################################################
source $HELPER_SCRIPTS/invoke-tests.sh
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
if isUbuntu16 ; then
# Install Mercurial from the mercurial-ppa/releases repository for the latest version for Ubuntu16.
# https://www.mercurial-scm.org/wiki/Download
add-apt-repository ppa:mercurial-ppa/releases -y
apt-get update
fi
apt-get install -y --no-install-recommends mercurial
invoke_tests "Tools" "Mercurial"