From fa3aae8b66df972cf69ecc0a999e2739b64dc584 Mon Sep 17 00:00:00 2001
From: Edileuton Henrique de Oliveira <eho09@inf.ufpr.br>
Date: Mon, 4 Aug 2014 16:49:04 -0300
Subject: [PATCH] windows-installer: Modify to install the newest wine version

Signed-off-by: Edileuton Henrique de Oliveira <eho09@inf.ufpr.br>
---
 windows-installer/install-essencials.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/windows-installer/install-essencials.sh b/windows-installer/install-essencials.sh
index 6f97968..493c37d 100755
--- a/windows-installer/install-essencials.sh
+++ b/windows-installer/install-essencials.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-REQUIRED_PKGS="wine gcc-mingw-w64 p7zip-full"
+REQUIRED_PKGS="wine gcc-mingw-w64 p7zip-full autoconf"
 pkgs_to_install=""
 for pkg in $REQUIRED_PKGS; do
     if ! dpkg --get-selections $pkg | grep -q -w install$; then
@@ -8,7 +8,7 @@ for pkg in $REQUIRED_PKGS; do
     fi
 done
 
-test -z $pkgs_to_install || sudo apt-get install $pkgs_to_install -y
+test -z $pkgs_to_install || sudo add-apt-repository ppa:ubuntu-wine/ppa || sudo update apt-get installsudo apt-get install $pkgs_to_install -y
 
 required_wine_pkgs="/tmp/nsis-2.45.exe /tmp/python-2.7.5.msi /tmp/py2exe.exe /tmp/pywin32.exe /tmp/wmi.exe"
 
-- 
GitLab