#!/mod/bin/jimsh source /mod/var/mongoose/lib/pkg.class puts {
Package | Installed | Avail | Description | |
---|---|---|---|---|
$name | [$pkg get installed] | [$pkg get latest] | [$pkg get descr] | " if {![$pkg is installed]} { set type Install } elseif {[$pkg is upgradable]} { set type Upgrade } else { set type Remove } puts "" puts " |