diff options
Diffstat (limited to 'src/lua_install.c')
| -rw-r--r-- | src/lua_install.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua_install.c b/src/lua_install.c index dc09c3e..1c240d4 100644 --- a/src/lua_install.c +++ b/src/lua_install.c @@ -23,6 +23,7 @@ #include "pkgit_lua.h" +#include "add_repo.h" #include "build.h" #include "files.h" #include "globs.h" @@ -169,7 +170,7 @@ void pkg_install(package_t *pkg) { if (!repo_exists) { log_info("adding " GREEN "%.*s" COLOR_RESET , &pkg->name); if (pkg->url.len > 0) { - add_repo(pkg->url, pkg->name); + add_repo(pkg); log_info("added " GREEN "%.*s" COLOR_RESET , &pkg->name); } } else { |
