summary refs log tree commit diff stats
path: root/plugins/sysinfo/parse.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-21 08:11:24 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 09:56:48 +0200
commitf0b909ea68b0fce80cbd29679fb818cbd8291b3e (patch)
treefc665279b198b62845113ae15b212e090eee2d1c /plugins/sysinfo/parse.c
parent3d01c7824821688c9213e5789570cfc647f4cdb9 (diff)
Add Mageia support to SysInfo
Diffstat (limited to 'plugins/sysinfo/parse.c')
-rw-r--r--plugins/sysinfo/parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/sysinfo/parse.c b/plugins/sysinfo/parse.c
index 075f3f31..9e185874 100644
--- a/plugins/sysinfo/parse.c
+++ b/plugins/sysinfo/parse.c
@@ -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)