Skip to content
Permalink
Browse files

explicitly run activate target in upgrade (https://trac.macports.org/…

…ticket/25218)

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@68746 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Jun 12, 2010
1 parent 2d1664f commit b8cfc89873686038dd959fc775b535d2c524148c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/macports1.0/macports.tcl
@@ -2861,7 +2861,7 @@ proc macports::_upgrade {portname dspec variationslist optionslist {depscachenam
return $status
}
# now install it
if {[catch {set result [mportexec $workername install]} result]} {
if {[catch {set result [mportexec $workername activate]} result]} {
global errorInfo
ui_debug "$errorInfo"
ui_error "Unable to exec port: $result"
@@ -3201,7 +3201,7 @@ proc macports::_upgrade {portname dspec variationslist optionslist {depscachenam
ui_msg "Skipping deactivate $portname @${version_active}_${revision_active}${variant_active} (dry run)"
}
ui_msg "Skipping activate $newname @${version_in_tree}_${revision_in_tree}$portinfo(canonical_active_variants) (dry run)"
} elseif {[catch {set result [mportexec $workername install]} result]} {
} elseif {[catch {set result [mportexec $workername activate]} result]} {
global errorInfo
ui_debug "$errorInfo"
ui_error "Couldn't activate $newname ${version_in_tree}_${revision_in_tree}$portinfo(canonical_active_variants): $result"

0 comments on commit b8cfc89

Please sign in to comment.
You can’t perform that action at this time.