Changeset 106689


Ignore:
Timestamp:
Jun 5, 2013, 6:03:24 AM (7 years ago)
Author:
jmr@…
Message:

fix a case where upgrade's version comparison didn't quite match that of action_outdated

File:
1 edited

Legend:

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

    r106688 r106689  
    37023702                && [vercmp $revision_installed $revision_in_tree] >= 0 ))
    37033703        && ![info exists options(ports_upgrade_force)] } {
    3704         if {$portname != $newname} { 
     3704        if {$portname != $newname} {
    37053705            ui_debug "ignoring versions, installing replacement port"
    3706         } elseif { $epoch_installed < $epoch_in_tree } {
     3706        } elseif { $epoch_installed < $epoch_in_tree && $version_installed != $version_in_tree } {
    37073707            set build_override 1
    37083708            ui_debug "epoch override ... upgrading!"
Note: See TracChangeset for help on using the changeset viewer.