summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apk-available-html.lsp2
-rw-r--r--apk-details-html.lsp2
-rw-r--r--apk-expert-html.lsp2
-rw-r--r--apk-loaded-html.lsp2
-rw-r--r--apk-model.lua4
5 files changed, 6 insertions, 6 deletions
diff --git a/apk-available-html.lsp b/apk-available-html.lsp
index 09fe6f9..928b1f9 100644
--- a/apk-available-html.lsp
+++ b/apk-available-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"upgrade", "install"}, session) %>
diff --git a/apk-details-html.lsp b/apk-details-html.lsp
index ca92177..d88f170 100644
--- a/apk-details-html.lsp
+++ b/apk-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
%>
<% htmlviewfunctions.displaycommandresults({"install", "upgrade"}, session) %>
diff --git a/apk-expert-html.lsp b/apk-expert-html.lsp
index b0dc65e..2256432 100644
--- a/apk-expert-html.lsp
+++ b/apk-expert-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"updateall", "upgradeall"}, session) %>
diff --git a/apk-loaded-html.lsp b/apk-loaded-html.lsp
index a32fc25..60e7321 100644
--- a/apk-loaded-html.lsp
+++ b/apk-loaded-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"delete", "install", "upgrade"}, session) %>
diff --git a/apk-model.lua b/apk-model.lua
index 0cb2b9f..db7c8ea 100644
--- a/apk-model.lua
+++ b/apk-model.lua
@@ -1,7 +1,7 @@
-- acf model for packages (apk)
module (..., package.seeall)
-require("modelfunctions")
-require("posix")
+modelfunctions = require("modelfunctions")
+posix = require("posix")
fs = require("acf.fs")
format = require("acf.format")