indows port improvements
[foam-extend-3.2.git] / vagrantSandbox / initFreeBSDScript.sh
blob40a4acc4868062ab1fe8d2aa3cdf8d8032648cbc
1 #! /usr/bin/env bash
3 boxName=$1
5 echo
6 echo "Init script for $boxName"
7 echo
9 pkg install -fy virtualbox-ose-additions
11 neededPackages=(mercurial git flex bison ccache rpm4 wget)
12 bonusPackages=(emacs24 zsh)
14 for p in ${neededPackages[@]}; do
15 pkg install -y $p
16 done
18 for p in ${bonusPackages[@]}; do
19 pkg install -y $p
20 done
22 echo
23 echo "Upgrading all to get working packages"
24 echo
25 pkg upgrade -y
27 echo
28 echo "FreeBSD-specific ended. Now doing general stuff"
29 echo
31 /vagrant/initGeneralScript.sh
33 echo
34 echo "Ended"