SOURCES: phpSysInfo-PLD.patch - updated for 2.5 - update made by <...
paszczus
paszczus at pld-linux.org
Fri Dec 9 15:56:58 CET 2005
Author: paszczus Date: Fri Dec 9 14:56:57 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 2.5
- update made by <patryk (at) patryk.one.pl>
---- Files affected:
SOURCES:
phpSysInfo-PLD.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/phpSysInfo-PLD.patch
diff -u SOURCES/phpSysInfo-PLD.patch:1.1 SOURCES/phpSysInfo-PLD.patch:1.2
--- SOURCES/phpSysInfo-PLD.patch:1.1 Sat Jan 22 16:37:13 2005
+++ SOURCES/phpSysInfo-PLD.patch Fri Dec 9 15:56:52 2005
@@ -1,22 +1,10 @@
---- phpsysinfo/includes/os/class.Linux.inc.php.orig 2005-01-22 16:10:45.168602016 +0100
-+++ phpsysinfo/includes/os/class.Linux.inc.php 2005-01-22 16:07:15.758566823 +0100
-@@ -452,6 +452,10 @@
- $buf = fgets($fd, 1024);
- fclose($fd);
- $result = 'Debian ' . trim($buf);
-+ } elseif ($fd = fopen('/etc/pld-release', 'r')) {
-+ $buf = fgets($fd, 1024);
-+ fclose($fd);
-+ $result = trim($buf);
- } elseif ($fd = fopen('/etc/SuSE-release', 'r')) {
- $buf = fgets($fd, 1024);
- fclose($fd);
-@@ -497,6 +501,8 @@
- function distroicon () {
- if (file_exists('/etc/debian_version')) {
- $result = 'Debian.gif';
-+ } elseif (file_exists('/etc/pld-release')) {
-+ $result = 'PLD.gif';
- } elseif (file_exists('/etc/SuSE-release')) {
- $result = 'Suse.gif';
- } elseif (file_exists('/etc/mandrake-release')) {
+--- distros.ini.old 2005-11-22 15:30:28.000000000 +0100
++++ distros.ini 2005-12-05 23:35:57.000000000 +0100
+@@ -58,3 +58,7 @@
+
+ [Ubunto]
+ Files = "/etc/lsb-release"
++
++[PLD]
++Image = "PLD.gif"
++Files = "/etc/pld-release"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/phpSysInfo-PLD.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list