summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/lpk/luasrc/lpk/core/install.lua6
-rw-r--r--libs/lpk/luasrc/lpk/core/retreive.lua7
-rw-r--r--libs/lpk/luasrc/lpk/core/retrieve.lua7
3 files changed, 10 insertions, 10 deletions
diff --git a/libs/lpk/luasrc/lpk/core/install.lua b/libs/lpk/luasrc/lpk/core/install.lua
index abf612b295..434f618324 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 5ad63aa937..0000000000
--- 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 0000000000..6176a94b99
--- /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