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.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/update_all.cc b/src/update_all.cc
new file mode 100644
index 0000000..5af2e67
--- /dev/null
+++ b/src/update_all.cc
@@ -0,0 +1,11 @@
+#include "update_all.hh"
+#include "create_pkg.hh"
+#include "update_pkg.hh"
+#include "vars.hh"
+
+void update_all() {
+ for (auto repo : repos) {
+ Pkg pkg = create_pkg(repo.second);
+ update_pkg(pkg);
+ }
+}