Alexandre Julliard : wineprefixcreate: Avoid redundant update on initial wineprefix creation.

Alexandre Julliard julliard at winehq.org
Wed May 14 06:43:44 CDT 2008


Module: wine
Branch: master
Commit: 87ec7ec5a56004a66c63eb9167e72ce900150b59
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=87ec7ec5a56004a66c63eb9167e72ce900150b59

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May 14 12:23:22 2008 +0200

wineprefixcreate: Avoid redundant update on initial wineprefix creation.

---

 tools/wineprefixcreate.in |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in
index e06f8b6..4d5aaf0 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
 




More information about the wine-cvs mailing list