aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-04-27 06:49:02 +0000
committerdacctal <dacctal@symlinx.net>2026-04-27 06:49:02 +0000
commit30023fdce4f1667e84333094005f9a9e4a036939 (patch)
tree723461c34e5501b05aec266bfa39dc2501a04439
parentd44c76aed308adb94047c9f7d734dc88bd691d4f (diff)
git ignoring :)HEADmaster
-rwxr-xr-xpkgitbin233600 -> 0 bytes
-rw-r--r--src/lua_state.cc8
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgit b/pkgit
deleted file mode 100755
index 10ff536..0000000
--- a/pkgit
+++ /dev/null
Binary files 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) {