Merge commit 'd3b269b7c6ffa0cd68845adfecdfb849316dba71' into nextRelease
[foam-extend-3.2.git] / vagrantSandbox / initOpenSUSEScript.sh
blob89d5fb7b8b741d9e591708f5117f986653149a44
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)
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"