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

g5pw at macports.org g5pw at macports.org
Tue Mar 15 09:35:26 PDT 2016


Revision: 146707
          https://trac.macports.org/changeset/146707
Author:   g5pw at macports.org
Date:     2016-03-15 09:35:26 -0700 (Tue, 15 Mar 2016)
Log Message:
-----------
base: do the port reclaim check before closing the registry

Some code will be added that will offer to run port reclaim for the user, and
that needs the registry to be open.

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

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2016-03-15 16:28:32 UTC (rev 146706)
+++ trunk/base/src/macports1.0/macports.tcl	2016-03-15 16:35:26 UTC (rev 146707)
@@ -1250,13 +1250,13 @@
             close $pingfile
         }
     }
-    # close it down so the cleanup stuff is called, e.g. vacuuming the db
-    registry::close
-
-    # Check the last time 'reclaim' was run
+    # Check the last time 'reclaim' was run and run it
     if {![macports::ui_isset ports_quiet]} {
         reclaim::check_last_run
     }
+
+    # close it down so the cleanup stuff is called, e.g. vacuuming the db
+    registry::close
 }
 
 # link plist for xcode 4.3's benefit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160315/bc676dbd/attachment.html>


More information about the macports-changes mailing list