aboutsummaryrefslogtreecommitdiff
path: root/src/install_pkg.cc
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-02 09:56:50 +0000
committerdacctal <dacctal@symlinx.net>2026-05-02 09:56:50 +0000
commit7322d59fef7958cc80604309804bc051243b9199 (patch)
tree5b2226d33a7f66249b4d2af6e436177c72e4f93f /src/install_pkg.cc
parent979a9571b7118822e67735654b36498fb8010c2a (diff)
install from local repos! :D
Diffstat (limited to 'src/install_pkg.cc')
-rw-r--r--src/install_pkg.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/install_pkg.cc b/src/install_pkg.cc
index 0753606..208c397 100644
--- a/src/install_pkg.cc
+++ b/src/install_pkg.cc
@@ -11,9 +11,11 @@
#include "vars.hh"
void install_pkg(Pkg pkg) {
- std::cout << print_pkgit << "fetching source..." << std::endl;
- fetch_src(pkg);
- std::cout << print_pkgit << "source fetched!" << std::endl;
+ if (!pkg.is_local) {
+ std::cout << print_pkgit << "fetching source..." << std::endl;
+ fetch_src(pkg);
+ std::cout << print_pkgit << "source fetched!" << std::endl;
+ }
std::cout << print_pkgit << "building..." << std::endl;
build(pkg);