]>
Commit | Line | Data |
---|---|---|
b7e19e43 | 1 | --- control-center-1.4.0.3/control-center.orig/splash.c Thu Feb 8 20:07:54 2001 |
2 | +++ control-center-1.4.0.3/control-center/splash.c Mon Aug 20 23:24:41 2001 | |
13404d60 | 3 | @@ -171,6 +171,16 @@ |
4 | info[si_distribution] = g_strdup(buf); | |
5 | fclose(f); | |
6 | } | |
7 | + } else if (g_file_exists("/etc/pld-release")) { | |
8 | + FILE *f; | |
9 | + gchar buf[80]; | |
10 | + | |
11 | + f = fopen("/etc/pld-release", "r"); | |
12 | + if (f) { | |
13 | + fgets(buf, 79, f); | |
14 | + info[si_distribution] = g_strdup(buf); | |
15 | + fclose(f); | |
16 | + } | |
17 | } | |
18 | else { | |
19 | /* This is about the only case where we'll put Unknown instead |