1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
--- src/systeminfo.cpp 2012-10-03 21:53:03.000000000 -0300
+++ src/systeminfo.cpp 2013-03-25 21:27:28.691880863 -0300
@@ -75,23 +75,7 @@
enum LinuxName {
LinuxNone = 0,
- LinuxMandrake,
- LinuxDebian,
- LinuxRedHat,
- LinuxGentoo,
- LinuxExherbo,
- LinuxSlackware,
- LinuxSuSE,
- LinuxConectiva,
- LinuxCaldera,
- LinuxLFS,
-
- LinuxASP, // Russian Linux distros
- LinuxALT,
-
- LinuxPLD, // Polish Linux distros
- LinuxAurox,
- LinuxArch
+ LinuxParabola
};
enum OsFlags {
@@ -106,24 +90,7 @@
QString file;
QString name;
} osInfo[] = {
- { LinuxMandrake, OsUseFile, "/etc/mandrake-release", "Mandrake Linux" },
- { LinuxDebian, OsAppendFile, "/etc/debian_version", "Debian GNU/Linux" },
- { LinuxGentoo, OsUseFile, "/etc/gentoo-release", "Gentoo Linux" },
- { LinuxExherbo, OsUseName, "/etc/exherbo-release", "Exherbo Linux" },
- { LinuxArch, OsUseName, "/etc/arch-release", "Arch Linux" },
- { LinuxSlackware, OsAppendFile, "/etc/slackware-version", "Slackware Linux" },
- { LinuxPLD, OsUseFile, "/etc/pld-release", "PLD Linux" },
- { LinuxAurox, OsUseName, "/etc/aurox-release", "Aurox Linux" },
- { LinuxArch, OsUseFile, "/etc/arch-release", "Arch Linux" },
- { LinuxLFS, OsAppendFile, "/etc/lfs-release", "LFS Linux" },
-
- // untested
- { LinuxSuSE, OsUseFile, "/etc/SuSE-release", "SuSE Linux" },
- { LinuxConectiva, OsUseFile, "/etc/conectiva-release", "Conectiva Linux" },
- { LinuxCaldera, OsUseFile, "/etc/.installed", "Caldera Linux" },
-
- // many distros use the /etc/redhat-release for compatibility, so RedHat will be the last :)
- { LinuxRedHat, OsUseFile, "/etc/redhat-release", "RedHat Linux" },
+ { LinuxParabola, OsUseName, "/etc/arch-release", "Parabola GNU/Linux-libre" },
{ LinuxNone, OsUseName, "", "" }
};
|