Opened 18 years ago
Last modified 18 years ago
#8723 closed enhancement
port oudated should provide different output when no outdated ports — at Initial Version
Reported by: | jpm@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
it would be nice to provide alternate message when there are not any outdated ports.
jpm.giant-squid ~ -=> port version Version: 1.211 jpm.giant-squid ~ -=> port outdated The following installed ports are outdated: jpm.giant-squid ~ -=>
looking at darwinports/base/src/port/port.tcl from cvs, it appears as though it already has this capability. but even after installing from cvs i still get the string "The following installed ports are outdated:" when i do not have any outdated ports.
proc action_outdated { action portlist opts } {
[...] if { [llength $ilist] > 0 } {
puts "The following installed ports are outdated:" [...]
} else {
puts "No installed ports are outdated."
}
return $status
}
diff that fixes the errant message being printed