Log message: Only create the device symlinks the first time around.
<skipped />
- # Check if dosdevices exists and create it if necessary
- if [ ! -d ~/.wine/dosdevices ]
- then
- mkdir ~/.wine/dosdevices
- ln -s /mnt/fd0 ~/.wine/dosdevices/a:
- ln -s $CROOT ~/.wine/dosdevices/c:
Alexandre,
what about the case when ~/.wine/dosdevices exists but is empty?
PS eghm, should it be bad for wineinstall and winecfg to share common code for creating links in dosdevices/ ?
Saulius Krasuckas saulius2@ar.fi.lt writes:
what about the case when ~/.wine/dosdevices exists but is empty?
I don't think we need to worry about that, this shouldn't happen in normal use.
PS eghm, should it be bad for wineinstall and winecfg to share common code for creating links in dosdevices/ ?
That code in wineinstall is just a temporary hack, it should go away. The initial creation should be done by wineprefixcreate, and the rest of the drive setup (cdroms etc.) should be done by winecfg, using DefineDosDevice().