[127614] trunk/base/src/macports1.0/macports.tcl
cal at macports.org
cal at macports.org
Thu Oct 30 11:22:01 PDT 2014
Revision: 127614
https://trac.macports.org/changeset/127614
Author: cal at macports.org
Date: 2014-10-30 11:22:01 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
base: move reclaim last-run-check to mportshutdown
- remove abstraction layer for function that should not be called from
port.tcl
- move reclaim last-run-check to mportshutdown where it is (a) more helpful to
the user, and (b) won't be printed when running 'port reclaim' itself.
- avoid the reclaim check when -q is specified to avoid littering output into
the bash completion for port
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2014-10-30 17:53:34 UTC (rev 127613)
+++ trunk/base/src/macports1.0/macports.tcl 2014-10-30 18:22:01 UTC (rev 127614)
@@ -1200,9 +1200,6 @@
}
}
- # Check the last time 'reclaim' was run
- macports::check_last_reclaim
-
# init registry
set db_path [file join ${registry.path} registry registry.db]
set db_exists [file exists $db_path]
@@ -1242,6 +1239,11 @@
}
# close it down so the cleanup stuff is called, e.g. vacuuming the db
registry::close
+
+ # Check the last time 'reclaim' was run
+ if {![macports::ui_isset ports_quiet]} {
+ reclaim::check_last_run
+ }
}
# link plist for xcode 4.3's benefit
@@ -4436,19 +4438,6 @@
return 0
}
-proc macports::check_last_reclaim {} {
-
- # An abstraction layer for the reclaim function, 'check_last_run'.
- #
- # Args:
- # None
- # Returns:
- # None
-
- reclaim::check_last_run
- return 0
-}
-
proc macports::reclaim_main {} {
# Calls the main function for the 'port reclaim' command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/7b4727c8/attachment-0001.html>
More information about the macports-changes
mailing list