diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 07:15:48 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-21 07:15:48 +0200 |
commit | bc57507a4ceee92050a5eb8ac17dfd8b5d264b7a (patch) | |
tree | 9d353a8ab23d1116a8de0c38927493b2afc66882 /plugins/sysinfo/parse.c | |
parent | 187351fa61e0ec9e8fe396de7a1d72a3a67d328f (diff) |
Add Arch patches to SysInfo-Unix and rebrand it
Diffstat (limited to 'plugins/sysinfo/parse.c')
-rw-r--r-- | plugins/sysinfo/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |