diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
commit | 619b8d955269f2fe74386e98fac07675c8b55352 (patch) | |
tree | f3e2610a39c99a7e43bc2b345280b04e398b986a /libre/psi/parabola.patch | |
parent | 2b04539ac9310541a4e563460aed0cb7715770d2 (diff) | |
parent | 7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff) | |
download | abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.gz abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.bz2 abslibre-619b8d955269f2fe74386e98fac07675c8b55352.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/psi/parabola.patch')
-rw-r--r-- | libre/psi/parabola.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/libre/psi/parabola.patch b/libre/psi/parabola.patch new file mode 100644 index 000000000..cafe67fa1 --- /dev/null +++ b/libre/psi/parabola.patch @@ -0,0 +1,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, "", "" } + }; |