wineprefixcreate: Moved creation of directories to wine.inf.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 17 Apr 2008 18:37:00 +0000 (20:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 17 Apr 2008 18:37:00 +0000 (20:37 +0200)
tools/wine.inf.in
tools/wineprefixcreate.in

index 2600a4784f99ce7641d5ff1aa5bab7fac1fdd616..7f022845b61dc6e8887965fb15dade6a67c51aca 100644 (file)
@@ -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
index af8a5f9ed98b05b4530248232c6fc33a73332b86..7eed5467e6e83eb1e7c143745201bb6ba133bd1f 100644 (file)
@@ -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