From 30023fdce4f1667e84333094005f9a9e4a036939 Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 27 Apr 2026 06:49:02 +0000 Subject: git ignoring :) --- pkgit | Bin 233600 -> 0 bytes src/lua_state.cc | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100755 pkgit diff --git a/pkgit b/pkgit deleted file mode 100755 index 10ff536..0000000 Binary files a/pkgit and /dev/null differ diff --git a/src/lua_state.cc b/src/lua_state.cc index 81f8d13..cbcf08f 100644 --- a/src/lua_state.cc +++ b/src/lua_state.cc @@ -62,15 +62,15 @@ void cache_install_directories() { void cache_repos() { if (!config_loaded) { - lua_getglobal(L, "repos"); + lua_getglobal(L, "repositories"); } else if (!lua_istable(L, -1)) { - lua_getglobal(L, "repos"); + lua_getglobal(L, "repositories"); } if (!lua_istable(L, -1)) { - std::cout << print_error << "lua variable 'repos' is not a table.\n"; + std::cout << print_error << "lua variable 'repositories' is not a table.\n"; return; - } + } lua_pushnil(L); while (lua_next(L, -2) != 0) { -- cgit v1.2.3