summaryrefslogtreecommitdiffhomepage
path: root/libs/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ipkg')
-rw-r--r--libs/ipkg/luasrc/model/ipkg.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ipkg/luasrc/model/ipkg.lua b/libs/ipkg/luasrc/model/ipkg.lua
index 075acc4c3..4c2716a38 100644
--- a/libs/ipkg/luasrc/model/ipkg.lua
+++ b/libs/ipkg/luasrc/model/ipkg.lua
@@ -26,7 +26,6 @@ limitations under the License.
]]--
module("luci.model.ipkg", package.seeall)
-require("luci.sys")
require("luci.util")
require("luci.fs")
@@ -89,7 +88,7 @@ function _lookup(act, pkg)
cmd = cmd .. " '" .. pkg:gsub("'", "") .. "'"
end
- return _parselist(luci.sys.exec(cmd .. " 2>/dev/null"))
+ return _parselist(luci.util.exec(cmd .. " 2>/dev/null"))
end
-- Internal parser function