From: Steven Barth Date: Tue, 29 Jul 2008 17:00:06 +0000 (+0000) Subject: libs/lpk: Fixed typos X-Git-Tag: 0.8.0~554 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a478f25f513cb26e671f8a1c204bafb9b66cfabf;p=oweals%2Fluci.git libs/lpk: Fixed typos --- diff --git a/libs/lpk/luasrc/lpk/core/install.lua b/libs/lpk/luasrc/lpk/core/install.lua index abf612b29..434f61832 100644 --- a/libs/lpk/luasrc/lpk/core/install.lua +++ b/libs/lpk/luasrc/lpk/core/install.lua @@ -7,9 +7,9 @@ end function process(register) register.sometext = "Test" - if not register.retreived then - print("Step down to retreive") - return "retreive" + if not register.retrieved then + print("Step down to retrieve") + return "retrieve" else print("Coming up again") end diff --git a/libs/lpk/luasrc/lpk/core/retreive.lua b/libs/lpk/luasrc/lpk/core/retreive.lua deleted file mode 100644 index 5ad63aa93..000000000 --- a/libs/lpk/luasrc/lpk/core/retreive.lua +++ /dev/null @@ -1,7 +0,0 @@ -module("luci.lpk.core.retreive", package.seeall) - -function process(register) - print "Now in retreive" - print (register.sometext) - register.retreived = true -end \ No newline at end of file diff --git a/libs/lpk/luasrc/lpk/core/retrieve.lua b/libs/lpk/luasrc/lpk/core/retrieve.lua new file mode 100644 index 000000000..6176a94b9 --- /dev/null +++ b/libs/lpk/luasrc/lpk/core/retrieve.lua @@ -0,0 +1,7 @@ +module("luci.lpk.core.retrieve", package.seeall) + +function process(register) + print "Now in retrieve" + print (register.sometext) + register.retrieved = true +end \ No newline at end of file