libs/lpk: Fixed typos
authorSteven Barth <steven@midlink.org>
Tue, 29 Jul 2008 17:00:06 +0000 (17:00 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 29 Jul 2008 17:00:06 +0000 (17:00 +0000)
libs/lpk/luasrc/lpk/core/install.lua
libs/lpk/luasrc/lpk/core/retreive.lua [deleted file]
libs/lpk/luasrc/lpk/core/retrieve.lua [new file with mode: 0644]

index abf612b2956cb638207018a04c4f3742f550a397..434f6183247cc988f232048553ba5849140c102f 100644 (file)
@@ -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 (file)
index 5ad63aa..0000000
+++ /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 (file)
index 0000000..6176a94
--- /dev/null
@@ -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