Fix wineinstall if no .wine present

pvriens at xs4all.nl pvriens at xs4all.nl
Sun Jul 18 10:46:05 CDT 2004


Hi,

on a clean system with no ~/.wine wineinstall complains:

Configuring Wine without Windows.
Some fake Windows directories must be created, to hold any .ini files, DLLs,
start menu entries, and other things your applications may need to install.
Where would you like your fake C drive to be placed?
(default is /home/paul/.wine/drive_c) /data/wine-c
Configuring Wine for a no-windows install in /data/wine-c...
mkdir: cannot create directory `/home/paul/.wine/dosdevices': No such file
or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/a:' to `/mnt/fd0':
No such file or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/c:' to
`/data/wine-c': No such file or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/d:' to `/cdrom':
No such file or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/e:' to `/tmp': No
such file or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/f:' to
`/home/paul': No such file or directory
ln: creating symbolic link `/home/paul/.wine/dosdevices/z:' to `/': No
such file or directory
/home/paul/.wine updated successfully.

This leaves me with /home/paul/.wine/drive_c instead of wanted
/data/wine-c etc..

The following patch will fix it:

Paul.Vriens at xs4all.nl
Create ~/.wine if not present during wineinstall

--- wine-20040716/tools/wineinstall     2004-05-14 02:43:50.000000000 +0200
+++ mywine/tools/wineinstall    2004-07-18 17:36:21.741462638 +0200
@@ -450,7 +450,7 @@

   if [ ! -d ~/.wine/dosdevices ]
   then
-    mkdir ~/.wine/dosdevices
+    mkdir -p ~/.wine/dosdevices
     ln -s /mnt/fd0 ~/.wine/dosdevices/a:
     ln -s $CROOT ~/.wine/dosdevices/c:
     ln -s /cdrom ~/.wine/dosdevices/d:




More information about the wine-patches mailing list