Add Mageia support to SysInfo

This commit is contained in:
Berke Viktor 2012-10-21 08:11:24 +02:00
parent 3d01c78248
commit f0b909ea68

View File

@ -401,6 +401,8 @@ int xs_parse_distro(char *name)
}
else if((fp = fopen("/etc/redhat-release", "r")) != NULL)
fgets(buffer, bsize, fp);
else if((fp = fopen("/etc/mageia-release", "r")) != NULL)
fgets(buffer, bsize, fp);
else if((fp = fopen("/etc/slackware-version", "r")) != NULL)
fgets(buffer, bsize, fp);
else if((fp = fopen("/etc/mandrake-release", "r")) != NULL)