modules/admin-full: Fixed a typo on IPKG configuration page
This commit is contained in:
parent
bdf75b1e03
commit
5430a64f05
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ f:append(Template("admin_system/ipkg"))
|
||||||
function f.handle(self, state, data)
|
function f.handle(self, state, data)
|
||||||
if state == FORM_VALID then
|
if state == FORM_VALID then
|
||||||
if (luci.fs.readfile(ipkgfile) or "") ~= data.lines then
|
if (luci.fs.readfile(ipkgfile) or "") ~= data.lines then
|
||||||
luci.fs.writefile(ipkgfile, data.keys)
|
luci.fs.writefile(ipkgfile, data.lines)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue