small patch for ./tools/wineinstall

Speeddymon speeddymon at yahoo.com
Wed Apr 17 16:18:40 CDT 2002


my first patch fixes that problem and quite a few
others
--- Tony Lambregts <tony_lambregts at telusplanet.net>
wrote:
> 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
> 
> 
> 
> > ? 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/



More information about the wine-devel mailing list