From 267ba4fadee95bc0b7c6ef596696854c87e3c6ac Mon Sep 17 00:00:00 2001 From: hummypkg Date: Fri, 6 Jan 2012 23:27:35 +0000 Subject: [PATCH] fix avail git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@630 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/lib/pkg.class | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/mongoose/lib/pkg.class b/var/mongoose/lib/pkg.class index 752e7230..a02671e0 100755 --- a/var/mongoose/lib/pkg.class +++ b/var/mongoose/lib/pkg.class @@ -13,7 +13,8 @@ set ::pkgmeta {} pkg method _load {nm} { set name $nm set info [join [split [exec /bin/opkg list $nm] "\n"] " "] - regexp {^([^ ]+) - ([^ ]+) - (.*)$} $info full xname latest descr + #rs - 0.4.0 rs - 0.4.2 - Remote scheduling support. + regexp {^[^ ]+ - [^ ]+ [^ ]+ - ([^ ]+) - (.*)$} $info full latest descr set info [exec /bin/opkg list-installed $nm] regexp {^([^ ]+) - ([^ ]+)$} $info full xname installed