mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-25 21:55:38 +00:00
Add Mageia support to SysInfo
This commit is contained in:
1 parent
3d01c78248
commit
f0b909ea68
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user