diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-02 08:38:13 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-02 08:38:13 +0000 |
| commit | 44eb727dc537403be092326639a5b7c6d7182146 (patch) | |
| tree | 1459603e69496400c22f53dcec67ec2c3348400a /src/update_all.cc | |
| parent | c555d4c25b5526c37e94ee2c593f34bdf28b159e (diff) | |
fixed like half of everything idk, you can install stuff now
Diffstat (limited to 'src/update_all.cc')
| -rw-r--r-- | src/update_all.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/update_all.cc b/src/update_all.cc index 5af2e67..6f55543 100644 --- a/src/update_all.cc +++ b/src/update_all.cc @@ -1,11 +1,12 @@ #include "update_all.hh" #include "create_pkg.hh" +#include "lua_state.hh" #include "update_pkg.hh" #include "vars.hh" void update_all() { - for (auto repo : repos) { - Pkg pkg = create_pkg(repo.second); + for (auto repo : cached_repos) { + Pkg pkg = create_pkg(repo.second.source.value); update_pkg(pkg); } } |
