wineprefixcreate: Avoid redundant update on initial wineprefix creation.
This commit is contained in:
parent
fb61856b45
commit
87ec7ec5a5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue