aboutsummaryrefslogtreecommitdiff
path: root/src/update_all.cc
diff options
context:
space:
mode:
authordacctal <dacctalyt@gmail.com>2026-04-03 14:56:05 +0000
committerdacctal <dacctalyt@gmail.com>2026-04-03 14:56:05 +0000
commited78991edc4755c0276dcb4eb454b43fa38296fc (patch)
tree460da5399e34e1dce7a293cb22578da15977d895 /src/update_all.cc
parent2a6b92ed130ade1ea7542ee210e6957427a0aa81 (diff)
countless changes
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);
+ }
+}