Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv1540

Modified Files:
        ChangeLog Engine.pm 
Log Message:
remove fink-obsolete-packages if it's no longer needed


Index: Engine.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Engine.pm,v
retrieving revision 1.414
retrieving revision 1.415
diff -u -d -r1.414 -r1.415
--- Engine.pm   24 Nov 2007 21:38:18 -0000      1.414
+++ Engine.pm   14 Dec 2007 19:37:18 -0000      1.415
@@ -1486,6 +1486,9 @@
 
        if ($problems) {
                &print_breaking("\nWARNING: not all obsolete packages could be 
removed.");
+       } elsif (!$opts{dryrun}) {
+               # all obsoletes removed, so remove the fink-obsolete-packages 
sentinel itself
+               &execute(dpkg_lockwait() . ' --purge fink-obsolete-packages', 
ignore_INT => 1);
        }
 
        return $problems;

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1518
retrieving revision 1.1519
diff -u -d -r1.1518 -r1.1519
--- ChangeLog   12 Dec 2007 17:31:40 -0000      1.1518
+++ ChangeLog   14 Dec 2007 19:37:18 -0000      1.1519
@@ -1,3 +1,8 @@
+2007-11-24  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * Engine.pm: If cleanup-obsoletes removes all obsolete packages,
+       also remove the fink-obsolete-packages package
+
 2007-12-11  Benjamin Reed  <[EMAIL PROTECTED]>
 
        * VirtPackage.pm: add support for .pc file virtuals, force x11


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to