[69022] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Sun Jun 20 16:43:35 PDT 2010


Revision: 69022
          http://trac.macports.org/changeset/69022
Author:   jmr at macports.org
Date:     2010-06-20 16:43:29 -0700 (Sun, 20 Jun 2010)
Log Message:
-----------
don't try uninstalling replaced ports during upgrade (dependents are not yet upgraded at that point)

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2010-06-20 23:00:05 UTC (rev 69021)
+++ trunk/base/src/macports1.0/macports.tcl	2010-06-20 23:43:29 UTC (rev 69022)
@@ -3256,7 +3256,7 @@
             }
             set anyactive no
         }
-        if {[info exists options(port_uninstall_old)]} {
+        if {[info exists options(port_uninstall_old)] && $portname == $newname} {
             # uninstalling now could fail due to dependents when not forced,
             # because the new version is not installed
             set uninstall_later yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100620/dfff5594/attachment-0001.html>


More information about the macports-changes mailing list