Update of /cvsroot/fink/fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7387/fink-HEAD

Modified Files:
        ChangeLog bootstrap.pl 
Log Message:
As part of initial checks during bootstraping, report the fink version
so we can tell from error reports what version a user is using


Index: bootstrap.pl
===================================================================
RCS file: /cvsroot/fink/fink/bootstrap.pl,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- bootstrap.pl        20 Feb 2006 22:41:55 -0000      1.72
+++ bootstrap.pl        9 Mar 2006 03:35:56 -0000       1.73
@@ -63,12 +63,14 @@
 use lib "$FindBin::RealBin/perlmod";
 require Fink::Bootstrap;
 import Fink::Bootstrap qw(&check_host &check_files);
+require Fink::FinkVersion;
+import Fink::FinkVersion qw(&fink_version);
 
 my $res = check_files();
 if( $res == 1 ) {
        exit 1;
 }
-print " looks good.\n";
+printf " looks good (fink-%s).\n", fink_version();
 
 ### load some modules
 

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -d -r1.398 -r1.399
--- ChangeLog   20 Feb 2006 22:41:55 -0000      1.398
+++ ChangeLog   9 Mar 2006 03:35:56 -0000       1.399
@@ -1,3 +1,7 @@
+2006-03-08  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * bootstrap.pl: Report fink version during initial checks.
+
 2006-02-20  Dave Morrison  <[EMAIL PROTECTED]>
 
        * bootstrap.pl: temporary code giving users a chance to exit if 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to