Update of /cvsroot/fink/experimental/thesin/finkinfo/test
In directory sc8-pr-cvs1:/tmp/cvs-serv1779
Modified Files:
sysinfo.pl
Log Message:
an other little fix for uptime only bring for minutes
Index: sysinfo.pl
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/test/sysinfo.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sysinfo.pl 12 Dec 2002 00:23:04 -0000 1.4
+++ sysinfo.pl 12 Dec 2002 15:39:07 -0000 1.5
@@ -190,6 +190,8 @@
$UPTIME = sprintf("%sd, %dh, %dm", $1, $2, $3);
} elsif ($DAYS =~ /.?.?(.+):(.+)/) {
$UPTIME = sprintf("%dh, %dm", $1, $2);
+ } elsif ($DAYS =~ /.?(.+) mins/) {
+ $UPTIME = sprintf("%dm", $1);
} else {
$UPTIME = "Not Currently Available ($DAYS)";
}
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits