small patch for ./tools/wineinstall
Tony Lambregts
tony_lambregts at telusplanet.net
Wed Apr 17 15:10:51 CDT 2002
I seems with all the changes to ./tools/wineinstall the installation of
the default wine registries does not happen when we have a no windows
install. This little patch seems to do the trick
Tony Lambregts
-------------- next part --------------
? wineinstall.dif
Index: wineinstall
===================================================================
RCS file: /home/wine/wine/tools/wineinstall,v
retrieving revision 1.26
diff -u -r1.26 wineinstall
--- wineinstall 1 Apr 2002 20:56:51 -0000 1.26
+++ wineinstall 17 Apr 2002 20:56:27 -0000
@@ -578,7 +578,7 @@
# (not to be done if windows registry exists)
if [ "$DOREG" = 'auto' ]
then {
- CROOT=`sed -n '/^\[Drive C\]$/,/^\[.*\]$/ s/^Path=\(.*\)/\1/p' $CONF`
+ CROOT=`awk -F\" '/\[Drive C]/ {if (getline) print $4}' $LCONF`
echo "Checking for real Windows registry..."
if [ -f "$CROOT/windows/system.dat" ]
then DOREG=no
More information about the wine-patches
mailing list