]> git.pld-linux.org Git - packages/control-center.git/blob - control-center-pldrelease.patch
- don't install (nonexisting) man pages
[packages/control-center.git] / control-center-pldrelease.patch
1 diff -Nur control-center.orig/splash.c control-center/splash.c
2 --- control-center.orig/splash.c        Thu Feb  8 20:07:54 2001
3 +++ control-center/splash.c     Mon Aug 20 23:24:41 2001
4 @@ -171,6 +171,16 @@
5           info[si_distribution] = g_strdup(buf);
6           fclose(f);
7         }
8 +  } else if (g_file_exists("/etc/pld-release")) {
9 +    FILE *f;
10 +       gchar buf[80];
11 +
12 +       f = fopen("/etc/pld-release", "r");
13 +       if (f) { 
14 +         fgets(buf, 79, f);
15 +         info[si_distribution] = g_strdup(buf);
16 +         fclose(f);
17 +       }
18    }            
19    else {
20      /* This is about the only case where we'll put Unknown instead
This page took 0.02387 seconds and 3 git commands to generate.