ipkg.lua: new function compare_version
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 27 Jul 2015 16:08:54 +0000 (18:08 +0200)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Mon, 27 Jul 2015 16:08:54 +0000 (18:08 +0200)
commit305528b3ccc5972e159385014f61fcea01b6ac9f
tree9098c521da0a6cfec5d19d86658a84639ca001ca
parentec170d62821579dea84e9333a7c7561dd7d59157
ipkg.lua: new function compare_version

* minor fix function _list() set to local
* new function compare_version() lua version of opkg compare-version

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
modules/luci-base/luasrc/model/ipkg.lua
modules/luci-base/luasrc/model/ipkg.luadoc