diff options
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 6988547c..ab457ca6 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -904,9 +904,9 @@ std::string CPluginManager::headerErrorShort(const eHeadersErrors err) { } bool CPluginManager::hasDeps() { - std::vector<std::string> deps = {"meson", "cpio", "cmake"}; + std::vector<std::string> deps = {"meson", "cpio", "cmake", "pkg-config"}; for (auto& d : deps) { - if (!execAndGet("which " + d + " 2>&1").contains("/")) + if (!execAndGet("command -v " + d).contains("/")) return false; } |
