diff --git a/var/mongoose/lib/pkg.class b/var/mongoose/lib/pkg.class index 752e723..a02671e 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