RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/port.tcl,v
retrieving revision 1.159
diff -u -d -b -w -r1.159 port.tcl
|
|
|
1572 | 1572 | } |
1573 | 1573 | |
1574 | 1574 | if { [llength $ilist] > 0 } { |
1575 | | puts "The following installed ports are outdated:" |
| 1575 | set num_outdated 0 |
1576 | 1576 | |
1577 | 1577 | foreach i $ilist { |
1578 | 1578 | |
… |
… |
|
1634 | 1634 | |
1635 | 1635 | # Emit information |
1636 | 1636 | if {$comp_result < 0 || [ui_isset ports_verbose]} { |
| 1637 | |
| 1638 | # Check if this is the first outdated port listed |
| 1639 | if {$num_outdated == 0} { |
| 1640 | puts "The following installed ports are outdated:" |
| 1641 | } |
| 1642 | |
1637 | 1643 | puts [format "%-30s %-24s %1s" $portname "$installed_compound $relation $latest_compound" $flag] |
| 1644 | |
| 1645 | set num_outdated $num_outdated+1 |
1638 | 1646 | } |
1639 | 1647 | |
1640 | 1648 | } |
1641 | 1649 | } |
1642 | | } else { |
| 1650 | |
| 1651 | if {$num_outdated == 0} { |
1643 | 1652 | puts "No installed ports are outdated." |
1644 | 1653 | } |
1645 | 1654 | |
| 1655 | } else { |
| 1656 | puts "No ports are installed." |
| 1657 | } |
| 1658 | |
1646 | 1659 | return $status |
1647 | 1660 | } |
1648 | 1661 | |