[80288] trunk/base/src/macports1.0/macports.tcl
jmr at macports.org
jmr at macports.org
Fri Jul 8 10:10:42 PDT 2011
Revision: 80288
http://trac.macports.org/changeset/80288
Author: jmr at macports.org
Date: 2011-07-08 10:10:41 -0700 (Fri, 08 Jul 2011)
Log Message:
-----------
don't print message about converting flat receipts if there are none
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2011-07-08 16:50:30 UTC (rev 80287)
+++ trunk/base/src/macports1.0/macports.tcl 2011-07-08 17:10:41 UTC (rev 80288)
@@ -955,7 +955,7 @@
global registry_open
set registry_open yes
# convert any flat receipts if we just created a new db
- if {$db_exists == 0 && [file writable $db_path]} {
+ if {$db_exists == 0 && [file exists ${registry.path}/receipts] && [file writable $db_path]} {
ui_warn "Converting your registry to sqlite format, this might take a while..."
if {[catch {registry::convert_to_sqlite}]} {
ui_debug "$::errorInfo"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110708/ed2be9dc/attachment.html>
More information about the macports-changes
mailing list