Update of /cvsroot/fink/fink/perlmod/Fink
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv13333

Modified Files:
        Bootstrap.pm ChangeLog 
Log Message:
exit with message if new argument of &add_injected_to_trees is absent


Index: Bootstrap.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Bootstrap.pm,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- Bootstrap.pm        4 Jul 2010 17:10:11 -0000       1.193
+++ Bootstrap.pm        4 Jul 2010 17:20:23 -0000       1.194
@@ -403,7 +403,9 @@
 
 sub add_injected_to_trees {
 
-       my $distribution = shift;
+       my $distribution = shift || die "The API for add_injected_to_trees has
+       changed, and now requires an argument.  If you see this message,
+       complain to your friendly neighborhood fink maintainers.\n";;
 
        my $trees = $config->param("Trees");
        if ($trees =~ /^\s*$/) {

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1671
retrieving revision 1.1672
diff -u -d -r1.1671 -r1.1672
--- ChangeLog   4 Jul 2010 17:10:11 -0000       1.1671
+++ ChangeLog   4 Jul 2010 17:20:23 -0000       1.1672
@@ -4,6 +4,8 @@
        * Config.pm: &write_sources_list now calls &apt_tree_default
        * Bootstrap.pm: &add_injected_to_trees now takes $distribution
        as an argument, and calls Fink::Config::fink_tree_default
+       * Bootstrap.pm: exit with message if new argument of 
+       &add_injected_to_trees is absent
 
 2010-06-30  Daniel Macks  <dma...@netspace.org>
 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to