aboutsummaryrefslogtreecommitdiff
path: root/src/update_pkg.cc
diff options
context:
space:
mode:
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);
-}