]> git.pld-linux.org Git - packages/control-center.git/blob - control-center-pldrelease.patch
- def-apps-capplet-browsers.patch
[packages/control-center.git] / control-center-pldrelease.patch
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
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
This page took 0.046546 seconds and 3 git commands to generate.