From 879d672a62ad409e8e45feff282ced8f3b88877e Mon Sep 17 00:00:00 2001 From: hummypkg Date: Thu, 11 Feb 2016 00:10:25 +0000 Subject: [PATCH] sort package list git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2617 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- webif/html/pkg/pkg.jim | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index e800bb4a..0f4cf3e3 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 1.2.8-1 +Version: 1.2.8-2 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.39-1),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7) diff --git a/webif/html/pkg/pkg.jim b/webif/html/pkg/pkg.jim index ba59c999..0eb3bdb9 100755 --- a/webif/html/pkg/pkg.jim +++ b/webif/html/pkg/pkg.jim @@ -85,7 +85,8 @@ pkg loadmeta set type [cgi_get type "avail"] set pkgs {} -foreach {pkg data} $pkgdata { +foreach pkg [lsort -nocase [dict keys $pkgdata]] { + set data $pkgdata($pkg) switch $type { avail { if {$data(installed) eq "0"} {