diff options
-rw-r--r-- | modules/luci-base/luasrc/model/ipkg.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/model/ipkg.lua b/modules/luci-base/luasrc/model/ipkg.lua index 2e26bd7a1..41633c43d 100644 --- a/modules/luci-base/luasrc/model/ipkg.lua +++ b/modules/luci-base/luasrc/model/ipkg.lua @@ -139,6 +139,10 @@ local function _list(action, pat, cb) desc = "" end + if #version > 26 then + version = version:sub(1,21) .. ".." .. version:sub(-3,-1) + end + cb(name, version, desc) name = nil |