New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80288


Ignore:
Timestamp:
07/08/11 10:10:41 (4 years ago)
Author:
jmr@…
Message:

don't print message about converting flat receipts if there are none

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r80287 r80288  
    956956    set registry_open yes 
    957957    # convert any flat receipts if we just created a new db 
    958     if {$db_exists == 0 && [file writable $db_path]} { 
     958    if {$db_exists == 0 && [file exists ${registry.path}/receipts] && [file writable $db_path]} { 
    959959        ui_warn "Converting your registry to sqlite format, this might take a while..." 
    960960        if {[catch {registry::convert_to_sqlite}]} { 
Note: See TracChangeset for help on using the changeset viewer.