#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require settings.class pkg.class if {[[settings] pkgdev]} { set filter 0 } else { set filter 1 } pkg loadmeta proc nav {active} { set q "
[$pkg get latest]
" } else { puts "[$pkg get installed]
" } if {$type eq "upgr"} { puts "Latest: [$pkg get latest]
" } if {[dict exists $::pkgmeta $name]} { puts "$::pkgmeta($name)
" } else { puts "[$pkg get descr]
" } if {![$pkg is installed]} { set btype Install } elseif {$type eq "upgr" && [$pkg is upgradable]} { set btype Upgrade } else { set btype Remove } # puts "