modules/admin-full: Fixed a typo on IPKG configuration page

This commit is contained in:
Steven Barth 2008-09-02 09:06:27 +00:00
parent bdf75b1e03
commit 5430a64f05

View file

@ -27,7 +27,7 @@ f:append(Template("admin_system/ipkg"))
function f.handle(self, state, data)
if state == FORM_VALID then
if (luci.fs.readfile(ipkgfile) or "") ~= data.lines then
luci.fs.writefile(ipkgfile, data.keys)
luci.fs.writefile(ipkgfile, data.lines)
end
end
return true