Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7632
Modified Files: ChangeLog Engine.pm Log Message: During "reinstall", also rebuild .deb if it's missing. Index: Engine.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/Engine.pm,v retrieving revision 1.279 retrieving revision 1.280 diff -u -d -r1.279 -r1.280 --- Engine.pm 25 May 2005 02:50:31 -0000 1.279 +++ Engine.pm 26 May 2005 17:29:34 -0000 1.280 @@ -1494,6 +1494,13 @@ if ($op == $OP_BUILD and $package->is_present()) { next; } + # if asked to reinstall but have no .deb, have to rebuild it + if ($op == $OP_REINSTALL and not $package->is_present()) { + if ($verbosity > 2) { + printf "No .deb found so %s must be rebuilt\n", $package->get_fullname(); + } + $op = $OP_REBUILD; + } # add to table @{$deps{$pkgname}}[ PKGNAME, PKGOBJ, PKGVER, OP, FLAG ] = ( $pkgname, Fink::Package->package_by_name($pkgname), Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.1022 retrieving revision 1.1023 diff -u -d -r1.1022 -r1.1023 --- ChangeLog 25 May 2005 04:23:36 -0000 1.1022 +++ ChangeLog 26 May 2005 17:29:34 -0000 1.1023 @@ -1,3 +1,7 @@ +2005-05-26 Daniel Macks <[EMAIL PROTECTED]> + + * Engine.pm: Convert "reinstall" to "rebuild" if no .deb present. + 2005-05-25 Peter O'Gorman <[EMAIL PROTECTED]> * Bootstrap.pm: Maybe allow bootstrap on darwin8. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits