wok
annotate hardinfo/stuff/os.patch @ rev 22379
updated openexr (2.2.0 -> 2.3.0)
author |
Hans-G?nter Theisgen |
date |
Thu Nov 28 08:53:20 2019 +0100 (2019-11-28) |
parents |
3364afe06006 |
children |
|
rev |
line source |
pascal@726
|
1 --- computer.h 2008-05-02 13:32:10.000000000 +0200
|
pascal@726
|
2 +++ computer.h 2008-05-02 13:34:31.000000000 +0200
|
pascal@726
|
3 @@ -23,6 +23,7 @@
|
pascal@726
|
4 static struct {
|
pascal@726
|
5 gchar *file, *codename;
|
pascal@726
|
6 } distro_db[] = {
|
pascal@726
|
7 + { DB_PREFIX "slitaz-release", "slitaz" },
|
pascal@726
|
8 { DB_PREFIX "debian_version", "deb" },
|
pascal@726
|
9 { DB_PREFIX "slackware-version", "slk" },
|
pascal@726
|
10 { DB_PREFIX "mandrake-release", "mdk" },
|
pascal@726
|
11 --- arch/linux/common/os.h 2008-05-02 13:43:33.000000000 +0200
|
pascal@726
|
12 +++ arch/linux/common/os.h 2008-05-02 13:44:49.000000000 +0200
|
slaxemulator@6223
|
13 @@ -215,6 +215,10 @@
|
pascal@726
|
14 ((buf[0] >= '0' && buf[0] <= '9') || buf[0] != 'D')) {
|
pascal@726
|
15 os->distro = g_strdup_printf
|
pascal@726
|
16 ("Debian GNU/Linux %s", buf);
|
pascal@726
|
17 + }
|
pascal@726
|
18 + else if (!strncmp(distro_db[i].codename, "slitaz", 6)) {
|
pascal@726
|
19 + os->distro = g_strdup_printf
|
pascal@726
|
20 + ("Slitaz GNU/Linux %s", buf);
|
pascal@726
|
21 } else {
|
pascal@726
|
22 os->distro = g_strdup(buf);
|
pascal@726
|
23 }
|