From 0117a3298eb55b71227216d053ceca244ec1f7a7 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Fri, 7 Apr 2017 22:11:10 +0200
Subject: [PATCH] okej

---
 Vagrantfile         |  1 +
 build_as_vagrant.sh | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index 064ebf2..d4c3230 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -28,6 +28,7 @@ Vagrant.configure("2") do |config|
     # Install fontconfig, wait for processing
 
     apt-get install -y --install-recommends winehq-stable
+    apt-get install -y winetricks
 
     # Install command
     cp -f /vagrant/tibbo_build.sh /usr/sbin/tibbo_build
diff --git a/build_as_vagrant.sh b/build_as_vagrant.sh
index 392fe56..8cefc40 100644
--- a/build_as_vagrant.sh
+++ b/build_as_vagrant.sh
@@ -18,17 +18,21 @@ winetricks native_oleaut32
 wine start.exe
 ln -s /vagrant /home/vagrant/.wine/drive_c/vagrant
 
+# Install Tibbo tools - in the background
+$(mkdir -p "/home/vagrant/.wine/drive_c/Program Files/Tibbo" &&
+wget http://dev.dms-serwis.com.pl/misc/tide-tibbo-lite-5.1.3-win32.zip -O /tmp/tibbo.zip &&
+unzip /tmp/tibbo.zip -d "/home/vagrant/.wine/drive_c/Program Files/Tibbo") &
+
 # Only now is it safe to install Mono :/ it requires wine for setup
 sudo apt-get install -y winbind mono-complete
 
-# Install Tibbo tools
-mkdir -p "/home/vagrant/.wine/drive_c/Program Files/Tibbo"
-wget http://dev.dms-serwis.com.pl/misc/tide-tibbo-lite-5.1.3-win32.zip -O /tmp/tibbo.zip
-unzip /tmp/tibbo.zip -d "/home/vagrant/.wine/drive_c/Program Files/Tibbo"
 
 # WINE extensions - max 15 minutes!
 cd /home/vagrant/.wine/drive_c
 winetricks dotnet40 corefonts
 
+wait %1
+
+
 kill -9 %1
 touch /vagrant/OK
\ No newline at end of file
-- 
GitLab