No packages "
switch $type {
inst { puts "are installed." }
upgr { puts "are available for upgrade; try updating the package list from the Internet using the button above." }
avail { puts "are available for installation." }
}
puts "
This is a filtered package list. To show all packages, enable the Show development and advanced packages in the settings screen.
"
}
puts ""
}
mheader
switch $pageid {
pkgi_b {
set type installed
set qtype inst
}
pkga_b {
set type available
set qtype avail
}
default {
set type upgrades
set qtype upgr
}
}
pkgtop $type
puts {