SOURCES: psi-customos.patch - custom OS info first to override def...

hawk hawk at pld-linux.org
Fri Jan 25 17:58:48 CET 2008


Author: hawk                         Date: Fri Jan 25 16:58:48 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- custom OS info first to override default value

---- Files affected:
SOURCES:
   psi-customos.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/psi-customos.patch
diff -u SOURCES/psi-customos.patch:1.8 SOURCES/psi-customos.patch:1.9
--- SOURCES/psi-customos.patch:1.8	Fri Jan 25 17:01:24 2008
+++ SOURCES/psi-customos.patch	Fri Jan 25 17:58:43 2008
@@ -1,5 +1,5 @@
 --- psi-0.11/src/systeminfo.cpp.orig	2007-10-14 16:00:54.000000000 +0200
-+++ psi-0.11/src/systeminfo.cpp	2008-01-25 16:58:11.368815916 +0100
++++ psi-0.11/src/systeminfo.cpp	2008-01-25 17:54:13.547934021 +0100
 @@ -15,6 +15,7 @@
  #include <windows.h>
  #endif
@@ -16,11 +16,12 @@
  
  		LinuxMandrake,
  		LinuxDebian,
-@@ -100,6 +102,7 @@
- 		// many distros use the /etc/redhat-release for compatibility, so RedHat will be the last :)
- 		{ LinuxRedHat,		OsUseFile,	"/etc/redhat-release",		"RedHat Linux"		},
- 
+@@ -83,6 +85,8 @@
+ 		QString file;
+ 		QString name;
+ 	} osInfo[] = {
 +		{ LinuxCustom,		OsUseFile,	ApplicationInfo::homeDir() + "/custom-os",	""	},
- 		{ LinuxNone,		OsUseName,	"",				""			}
- 	};
- 
++
+ 		{ LinuxMandrake,	OsUseFile,	"/etc/mandrake-release",	"Mandrake Linux"	},
+ 		{ LinuxDebian,		OsAppendFile,	"/etc/debian_version",		"Debian GNU/Linux"	},
+ 		{ LinuxGentoo,		OsUseFile,	"/etc/gentoo-release",		"Gentoo Linux"		},
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/psi-customos.patch?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list