aboutsummaryrefslogtreecommitdiff
path: root/src/update_pkg.cc
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-24 10:23:38 +0000
committerdacctal <dacctal@symlinx.net>2026-05-24 10:23:38 +0000
commitaa0d78815004ae6b0c4a42b0e024f5c4ef555ae2 (patch)
tree62f97b4c5acfdb98003568466f878fbd3d6b9dfb /src/update_pkg.cc
parent83d471f2c1d1b1fa6be51f41e4f1c36ab19d7094 (diff)
c rewrite
Diffstat (limited to 'src/update_pkg.cc')
-rw-r--r--src/update_pkg.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/update_pkg.cc b/src/update_pkg.cc
deleted file mode 100644
index 881beff..0000000
--- a/src/update_pkg.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <filesystem>
-#include <iostream>
-
-#include "update_pkg.hh"
-#include "is_updated.hh"
-#include "install_pkg.hh"
-
-void update_pkg(Pkg pkg) {
- if (is_updated(pkg.src)) { std::cout << print_skipped << pkg.name << " is already up to date."; return; }
- install_pkg(pkg);
-}