From b442fef33397a5fd57c715daa63ecad73cc0d9eb Mon Sep 17 00:00:00 2001 From: hummypkg Date: Fri, 6 Jan 2012 23:44:55 +0000 Subject: [PATCH] upgradable packages come first git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@632 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/cgi-bin/pkg.jim | 3 ++- var/mongoose/html/pkg.shtml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/var/mongoose/cgi-bin/pkg.jim b/var/mongoose/cgi-bin/pkg.jim index 861f7f1..ca83a13 100755 --- a/var/mongoose/cgi-bin/pkg.jim +++ b/var/mongoose/cgi-bin/pkg.jim @@ -79,7 +79,8 @@ if {[llength $pkgs] > 0} { " foreach pkg $pkgs { - if {$filter && ![dict exists $::pkgmeta $pkg]} { continue } + if {$type ne "upgr" && $filter && \ + ![dict exists $::pkgmeta $pkg]} { continue } pkgrow [pkg load $pkg] } puts "" diff --git a/var/mongoose/html/pkg.shtml b/var/mongoose/html/pkg.shtml index bd7ada1..d6e2a7c 100644 --- a/var/mongoose/html/pkg.shtml +++ b/var/mongoose/html/pkg.shtml @@ -146,13 +146,13 @@ $(document).ready(function() {