On 2002.05.14 00:14 Sergey V. Udaltsov wrote:
> ... I found another little buggy in the install.sh script
> (in mach64 binary snapshots). This script moves existing binary objects
> (for example, mach64.o) into dri-old prefix and restores them back when
> asked. But if mach64.o had not not exist before the installation - it
> just ignores this fact and does not remove the installed one. So Jose,
> could you please fix this? Just check existence ("if [ -f ") of
> $.../dri-old.$FILE - and "rm -f $.../$FILE".

Sergey, sorry for replying only now. For some time I was planning to apply 
the fix you suggested but time has been rather short lately. When I 
finally was to do it and understood what you were suggesting I must say 
that I disagreed.

The problem is that the existence of those dri-old files are the only 
proof that anything was installed before. If we default to delete files 
when there is no backup then someone mistakenly trying to restore with no 
previous installation (or, e.g., accidental second restore) will delete 
all the drivers, and I think that this can be far more annoying than 
having a dummy mach64.o floating around.

José Fonseca



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to