forked from hummypkg/webif
fix avail
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@630 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
c2ec779465
commit
267ba4fade
@ -13,7 +13,8 @@ set ::pkgmeta {}
|
|||||||
pkg method _load {nm} {
|
pkg method _load {nm} {
|
||||||
set name $nm
|
set name $nm
|
||||||
set info [join [split [exec /bin/opkg list $nm] "\n"] " "]
|
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]
|
set info [exec /bin/opkg list-installed $nm]
|
||||||
regexp {^([^ ]+) - ([^ ]+)$} $info full xname installed
|
regexp {^([^ ]+) - ([^ ]+)$} $info full xname installed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user