Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / vagrantSandbox / initOpenSUSEScript.sh
blob48bcc0cff3833b537ce9e46509b03d0ec6944878
1 #! /bin/bash
3 boxName=$1
5 echo
6 echo "Init script for $boxName"
7 echo
9 # Otherwise python/mercurial won't install
10 zypper -n remove patterns-openSUSE-minimal_base-conflicts
12 # patterns-openSUSE-devel_python
14 neededPackages=(gcc-c++ mercurial git flex bison make ccache zlib-devel rpm-build binutils-devel cmake)
15 bonusPackages=(emacs csh tcsh zsh)
17 for p in ${neededPackages[@]}; do
18 zypper -n install $p
19 done
21 for p in ${bonusPackages[@]}; do
22 zypper -n install $p
23 done
25 echo
26 echo "OpenSUSE-specific ended. Now doing general stuff"
27 echo
29 /vagrant/initGeneralScript.sh
31 echo
32 echo "Ended"