ipkg.lua: compare_versions() Replace Lua Math Library call 433/head
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Tue, 4 Aug 2015 19:14:48 +0000 (21:14 +0200)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Tue, 4 Aug 2015 19:14:48 +0000 (21:14 +0200)
commit0be846d7ffb5bff70c525214a8b7c0e4d14ce3ec
tree64c9bb22eb7ba304ecd60c3e61b7700597c2cc48
parentafc5d67207a361a4c1a31c9025fdd98ff13d9401
ipkg.lua: compare_versions() Replace Lua Math Library call

function compare_versions(): replace Lua Math Library call with if clause

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