diff --git a/run.sh b/run.sh index 48f842f014eaf8173eb0ccaf91a149b21774654b..b2373a040768eed52eedb8fd468a636a176bec97 100644 --- a/run.sh +++ b/run.sh @@ -5,10 +5,10 @@ set -x shutdown -h +60 "Timeout on VM creation" -if [ -e "/vagrant/build.sh" ]; then +if [ -f "/vagrant/build.sh" ]; then bash /vagrant/build.sh fi -if [ -e "/vagrant/build_as_vagrant.sh" ]; then +if [ -f "/vagrant/build_as_vagrant.sh" ]; then su - vagrant -c 'bash /vagrant/build_as_vagrant.sh' fi diff --git a/wine-tibbo/build.sh b/wine-tibbo/build.sh index 9a18a9f8bedc2b798c8a16ee35f9d417f9ae0cbc..e9ce7111c6a720896a03902f00841a483fbe9937 100644 --- a/wine-tibbo/build.sh +++ b/wine-tibbo/build.sh @@ -3,7 +3,7 @@ export DISPLAY=:0.0 export WINEPREFIX="/home/vagrant/.wine" # Install WINE -echo "deb http://httpredir.debian.org/debian jessie-backports main" >> /etc/apt/sources.list +echo "deb http://httpredir.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list dpkg --add-architecture i386 apt-get update apt-get install -y wget xvfb wine/jessie-backports unzip wine32/jessie-backports libwine:i386/jessie-backports wine64/jessie-backports libwine/jessie-backports fonts-wine/jessie-backports @@ -14,4 +14,3 @@ chmod ugo+rx /usr/sbin/tibbo_build # Sanitize chown -R vagrant:vagrant /home/vagrant -chown -R vagrant:vagrant /home/vagrant/.wine