[75674] contrib/restore_ports/restore_ports.tcl

jmr at macports.org jmr at macports.org
Thu Feb 3 17:39:29 PST 2011


Revision: 75674
          http://trac.macports.org/changeset/75674
Author:   jmr at macports.org
Date:     2011-02-03 17:39:28 -0800 (Thu, 03 Feb 2011)
Log Message:
-----------
restore_ports: don't fail to deactivate ports due to dependents

Modified Paths:
--------------
    contrib/restore_ports/restore_ports.tcl

Modified: contrib/restore_ports/restore_ports.tcl
===================================================================
--- contrib/restore_ports/restore_ports.tcl	2011-02-04 01:01:52 UTC (rev 75673)
+++ contrib/restore_ports/restore_ports.tcl	2011-02-04 01:39:28 UTC (rev 75674)
@@ -184,7 +184,7 @@
         
         # XXX some ports may be reactivated to fulfil dependencies - check again at the end?
         if {!$active} {
-            if {[catch {portimage::deactivate $name "" ""} result]} {
+            if {[catch {portimage::deactivate $name "" [list ports_nodepcheck 1]} result]} {
                 global errorInfo
                 ui_debug "$errorInfo"
                 return -code error "port deactivate failed: $result"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110203/1806b5e3/attachment.html>


More information about the macports-changes mailing list