]> git.pld-linux.org Git - packages/psi-plus.git/blob - psi-plus-customos.patch
- updated md5 for Source0
[packages/psi-plus.git] / psi-plus-customos.patch
1 --- psi-0.11/src/systeminfo.cpp.orig    2007-10-14 16:00:54.000000000 +0200
2 +++ psi-0.11/src/systeminfo.cpp 2008-01-25 17:54:13.547934021 +0100
3 @@ -15,6 +15,7 @@
4  #include <windows.h>
5  #endif
6  
7 +#include "applicationinfo.h"
8  #include "systeminfo.h"
9  
10  SystemInfo::SystemInfo() : QObject(QCoreApplication::instance())
11 @@ -52,6 +53,7 @@
12         // get description about os
13         enum LinuxName {
14                 LinuxNone = 0,
15 +               LinuxCustom,
16  
17                 LinuxMandrake,
18                 LinuxDebian,
19 @@ -83,6 +85,8 @@
20                 QString file;
21                 QString name;
22         } osInfo[] = {
23 +               { LinuxCustom,          OsUseFile,      ApplicationInfo::homeDir() + "/custom-os",      ""      },
24 +
25                 { LinuxMandrake,        OsUseFile,      "/etc/mandrake-release",        "Mandrake Linux"        },
26                 { LinuxDebian,          OsAppendFile,   "/etc/debian_version",          "Debian GNU/Linux"      },
27                 { LinuxGentoo,          OsUseFile,      "/etc/gentoo-release",          "Gentoo Linux"          },
This page took 0.048435 seconds and 3 git commands to generate.