diff options
author | Steven Barth <steven@midlink.org> | 2008-08-06 20:11:15 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-06 20:11:15 +0000 |
commit | 76982655fa433edd885bbb80bbe74e82fca527e2 (patch) | |
tree | 98b1f8cfff0bedaf13795779710123f0194dffc1 /libs/ipkg/luasrc | |
parent | b1b0c085de7483c5a778f0056a97da14e87b7f16 (diff) |
Moved luci.sys.exec, luci.sys.execl and luci.sys.bigendian to luci.util
Diffstat (limited to 'libs/ipkg/luasrc')
-rw-r--r-- | libs/ipkg/luasrc/model/ipkg.lua | 3 |
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 |