I may have misunderstood because I find this part of the code rather confusing, but I think this patch is the wrong way round...

As I understand it, on a Red Hat system, FusionInventory finds the file /etc/system-release, so sets $name = "Scientific". Then, it reads the contents of /etc/system-release and sets $release = "Red Hat enterprise service release 6.4 (Final)" (or something similar). This is wrong, because name *should* be "RedHat", not "Scientific".

So I think your patch above would work, like this:

```
if ($name =~ /Scientific/) {
    if ($release =~ /Red Hat/) {
        # this is really a scientific linux, we have to change the name
        $name = "RedHat"
```

Do you see what I mean?