aboutsummaryrefslogtreecommitdiff
path: root/src/update_all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/update_all.cc')
-rw-r--r--src/update_all.cc5
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);
}
}