This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/vagrantSandbox/initCentOSRHELScript.sh
Bernhard Gschaider ad198e0854 Fixes and a script to compile Foam in one go
--HG--
extra : amend_source : 367e251b7df6b13cda03ddf956dbbfa9bec4b51d
2014-02-10 15:12:04 +01:00

32 lines
633 B
Bash
Executable file

#! /bin/bash
boxName=$1
echo
echo "Init script for $boxName"
echo
# some of these packages are already installed. But lets be sure
neededPackages=(gcc-g++ mercurial git flex bison make ccache rpm-build wget zlib-devel)
bonusPackages=(emacs csh tcsh zsh)
for p in ${neededPackages[@]}; do
yum install -y $p
done
for p in ${bonusPackages[@]}; do
yum install -y $p
done
echo "Update mercurial to a more recent version"
rpm -Uhv http://pkgs.repoforge.org/mercurial/mercurial-2.2.2-1.el6.rfx.x86_64.rpm
echo
echo "RHEL/CentOS-specific ended. Now doing general stuff"
echo
/vagrant/initGeneralScript.sh
echo
echo "Ended"