From 87ec7ec5a56004a66c63eb9167e72ce900150b59 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 14 May 2008 12:23:22 +0200 Subject: [PATCH] wineprefixcreate: Avoid redundant update on initial wineprefix creation. --- tools/wineprefixcreate.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in index e06f8b68075..4d5aaf02181 100644 --- a/tools/wineprefixcreate.in +++ b/tools/wineprefixcreate.in @@ -122,7 +122,12 @@ fi WINEPREFIX=`cd "$WINEPREFIX" && pwd` export WINEPREFIX -"${WINELOADER:-$bindir/wine}" wineboot.exe --update +if [ -d "$WINEPREFIX/dosdevices" ] +then + "${WINELOADER:-$bindir/wine}" wineboot.exe --update +else + "${WINELOADER:-$bindir/wine}" wineboot.exe +fi # Wait for the wineserver to finish -- 2.11.4.GIT