wineprefixcreate: Moved creation of directories to wine.inf.

This commit is contained in:
Alexandre Julliard 2008-04-17 20:37:00 +02:00
parent 0ed9db27c5
commit 89d63f0bfb
2 changed files with 6 additions and 9 deletions

View 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

View 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