From a4d8e687e51f21783001c243d0312016498dc599 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Fri, 7 Apr 2017 19:12:12 +0200
Subject: [PATCH] okej

---
 build.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 8ba2e04..97dde38 100644
--- a/build.sh
+++ b/build.sh
@@ -15,8 +15,15 @@ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BF
 echo "deb http://download.mono-project.com/repo/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
 apt-get update
 
+# Install fontconfig, wait for processing
+apt-get install -y fontconfig
+while [ ! -f /etc/fonts/fonts.conf ] ;
+do
+      sleep 1
+done
+
 # Install WINE things
-apt-get install -y wine winetricks xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic unzip curl fontconfig
+apt-get install -y wine winetricks xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic unzip curl
 
 # Install command
 cp -f /vagrant/tibbo_build.sh /usr/sbin/tibbo_build
-- 
GitLab