Skip to content

Commit

Permalink
reclaim: Remove redundant port list from output
Browse files Browse the repository at this point in the history
The list of inactive ports will already be printed as selectable
choices. There is no need to print them before asking the question.

(cherry picked from commit 483926d)
  • Loading branch information
raimue authored and jmroot committed Feb 16, 2017
1 parent e214c74 commit 33e6865
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/macports1.0/reclaim.tcl
Expand Up @@ -453,9 +453,8 @@ namespace eval reclaim {

} else {

ui_msg "Found inactive ports: [join $inactive_names {, }]."
if {[info exists macports::ui_options(questions_multichoice)]} {
set retstring [$macports::ui_options(questions_multichoice) "Would you like to uninstall these ports?" "" $inactive_names]
set retstring [$macports::ui_options(questions_multichoice) "Would you like to uninstall these inactive ports?" "" $inactive_names]

if {[llength $retstring] > 0} {
foreach i $retstring {
Expand Down

0 comments on commit 33e6865

Please sign in to comment.