From bc57507a4ceee92050a5eb8ac17dfd8b5d264b7a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 21 Oct 2012 07:15:48 +0200 Subject: Add Arch patches to SysInfo-Unix and rebrand it --- plugins/sysinfo/parse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/sysinfo/parse.c') diff --git a/plugins/sysinfo/parse.c b/plugins/sysinfo/parse.c index d55142a1..075f3f31 100644 --- a/plugins/sysinfo/parse.c +++ b/plugins/sysinfo/parse.c @@ -415,6 +415,8 @@ int xs_parse_distro(char *name) fgets(buffer, bsize, fp); else if((fp = fopen("/etc/turbolinux-release", "r")) != NULL) fgets(buffer, bsize, fp); + else if((fp = fopen("/etc/arch-release", "r")) != NULL) + snprintf(buffer, bsize, "ArchLinux"); else snprintf(buffer, bsize, "Unknown Distro"); if(fp != NULL) fclose(fp); -- cgit 1.4.1