From 388c1937c2990d5690cf3a8714a9d25ba1c7a4c1 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 31 Mar 2024 16:26:36 -0400 Subject: Restructured functions to be more modular, and moved things to globals, so that they can easily be modified by plugins instead of as upvalues. --- src/lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lpm.c') diff --git a/src/lpm.c b/src/lpm.c index 835c633..c464bae 100644 --- a/src/lpm.c +++ b/src/lpm.c @@ -1520,7 +1520,7 @@ int main(int argc, char* argv[]) { lua_setglobal(L, "EXEFILE"); lua_pushliteral(L, LITE_ARCH_TUPLE); - lua_setglobal(L, "ARCH"); + lua_setglobal(L, "DEFAULT_ARCH"); lua_pushliteral(L, LPM_DEFAULT_REPOSITORY); lua_setglobal(L, "DEFAULT_REPO_URL"); lua_pushliteral(L, LPM_DEFAULT_RELEASE); -- cgit v1.2.3