diff options
Diffstat (limited to 'src/install_pkg.cc')
| -rw-r--r-- | src/install_pkg.cc | 8 |
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); |
