Only create the device symlinks the first time around.
This commit is contained in:
parent
fba7149a2d
commit
bc2328fcf2
|
@ -547,7 +547,6 @@ then
|
||||||
if [ ! -w ~/.wine ]
|
if [ ! -w ~/.wine ]
|
||||||
then
|
then
|
||||||
mkdir ~/.wine
|
mkdir ~/.wine
|
||||||
mkdir ~/.wine/dosdevices
|
|
||||||
fi
|
fi
|
||||||
cp $TMPCONF $LCONF > /dev/null
|
cp $TMPCONF $LCONF > /dev/null
|
||||||
else
|
else
|
||||||
|
@ -599,13 +598,17 @@ then {
|
||||||
fi
|
fi
|
||||||
echo "Preparing to install default Wine registry entries..."
|
echo "Preparing to install default Wine registry entries..."
|
||||||
|
|
||||||
# Make sure we are on a Windows drive
|
# Check if dosdevices exists and create it if necessary
|
||||||
ln -s /mnt/fd0 ~/.wine/dosdevices/a:
|
if [ ! -d ~/.wine/dosdevices ]
|
||||||
ln -s $CROOT ~/.wine/dosdevices/c:
|
then
|
||||||
ln -s /cdrom ~/.wine/dosdevices/d:
|
mkdir ~/.wine/dosdevices
|
||||||
ln -s /tmp ~/.wine/dosdevices/e:
|
ln -s /mnt/fd0 ~/.wine/dosdevices/a:
|
||||||
ln -s ~ ~/.wine/dosdevices/f:
|
ln -s $CROOT ~/.wine/dosdevices/c:
|
||||||
ln -s / ~/.wine/dosdevices/z:
|
ln -s /cdrom ~/.wine/dosdevices/d:
|
||||||
|
ln -s /tmp ~/.wine/dosdevices/e:
|
||||||
|
ln -s ~ ~/.wine/dosdevices/f:
|
||||||
|
ln -s / ~/.wine/dosdevices/z:
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing default Wine registry entries..."
|
echo "Installing default Wine registry entries..."
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue