From 89d63f0bfbc214733b322049268015a270079153 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 17 Apr 2008 20:37:00 +0200 Subject: [PATCH] wineprefixcreate: Moved creation of directories to wine.inf. --- tools/wine.inf.in | 5 +++++ tools/wineprefixcreate.in | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/tools/wine.inf.in b/tools/wine.inf.in index 2600a4784f9..7f022845b61 100644 --- a/tools/wine.inf.in +++ b/tools/wine.inf.in @@ -2215,6 +2215,11 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 11,,wintrust.dll,1 [FakeDllsSection] +; create some directories first +10,inf, +10,system, +10,temp, +11,spool\drivers\color, 10,,explorer.exe 10,,hh.exe 10,,notepad.exe diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in index af8a5f9ed98..7eed5467e6e 100644 --- a/tools/wineprefixcreate.in +++ b/tools/wineprefixcreate.in @@ -139,15 +139,7 @@ CROOT="$WINEPREFIX/dosdevices/c:" for i in \ "$CROOT/windows" \ - "$CROOT/windows/command" \ - "$CROOT/windows/fonts" \ - "$CROOT/windows/inf" \ - "$CROOT/windows/system" \ - "$CROOT/windows/system32" \ - "$CROOT/windows/system32/spool" \ - "$CROOT/windows/system32/spool/drivers" \ - "$CROOT/windows/system32/spool/drivers/color" \ - "$CROOT/windows/temp" + "$CROOT/windows/inf" do [ -d "$i" ] || mkdir "$i" done