1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

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) else if((fp = fopen("/etc/redhat-release", "r")) != NULL)
fgets(buffer, bsize, fp); 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) else if((fp = fopen("/etc/slackware-version", "r")) != NULL)
fgets(buffer, bsize, fp); fgets(buffer, bsize, fp);
else if((fp = fopen("/etc/mandrake-release", "r")) != NULL) else if((fp = fopen("/etc/mandrake-release", "r")) != NULL)