Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18372
Modified Files: ChangeLog SelfUpdate.pm Log Message: During SelfUpdate::finish, only update "important" packages if they are already installed. That means don't force gettext-dev if one has libgettext3-dev at the moment. Index: SelfUpdate.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/SelfUpdate.pm,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- SelfUpdate.pm 6 Oct 2005 06:11:06 -0000 1.100 +++ SelfUpdate.pm 12 Oct 2005 19:26:20 -0000 1.101 @@ -569,7 +569,13 @@ print_breaking("WARNING! This version of Perl ($]) is not currently supported by Fink. Updating anyway, but you may encounter problems.\n") unless $perl_is_supported; - push @elist, @{$package_list}; + foreach my $important (@$package_list) { + my $po = Fink::Package->package_by_name($important); + if ($po && $po->is_any_installed()) { + # only worry about "important" ones that are already installed + push @elist, $important; + } + } # update them Fink::Engine::cmd_install(@elist); Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.1167 retrieving revision 1.1168 diff -u -d -r1.1167 -r1.1168 --- ChangeLog 12 Oct 2005 05:31:47 -0000 1.1167 +++ ChangeLog 12 Oct 2005 19:26:20 -0000 1.1168 @@ -1,5 +1,10 @@ 2005-10-12 Daniel Macks <[EMAIL PROTECTED]> + * SelfUpdate.pm: During finish(), only update "important" (but not + Essential) packages if they are already installed. + +2005-10-12 Daniel Macks <[EMAIL PROTECTED]> + * Engine.pm, Package.pm, PkgVersion.pm: New Package::control_buildlocks class method used to control access to whole buildlock system. * Engine.pm: During buildlock cleanup, only remove lockpkgs that ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits