diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-10 16:18:30 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-10 16:18:30 +0000 |
| commit | b3dc58e1047cba0778831bdb069c3ceba6ec216e (patch) | |
| tree | 66c2939a328dab7949f32c7d865199a822ace94d /hyprpm/src/core/PluginManager.cpp | |
| parent | af6aae4e12b96fff701d8ae8fcb48ea8bb51009f (diff) | |
hyprpm: clone plugins recursively
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 d3e6f171..e6e0a750 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -105,7 +105,7 @@ bool CPluginManager::addNewPluginRepo(const std::string& url) { progress.printMessageAbove(std::string{Colors::RESET} + " → Cloning " + url); - std::string ret = execAndGet("cd /tmp/hyprpm && git clone " + url + " new"); + std::string ret = execAndGet("cd /tmp/hyprpm && git clone --recursive " + url + " new"); if (!std::filesystem::exists("/tmp/hyprpm/new")) { std::cerr << "\n" << Colors::RED << "✖" << Colors::RESET << " Could not clone the plugin repository. shell returned:\n" << ret << "\n"; @@ -438,7 +438,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) { progress.printMessageAbove(std::string{Colors::RESET} + " → Cloning " + repo.url); - std::string ret = execAndGet("cd /tmp/hyprpm && git clone " + repo.url + " update"); + std::string ret = execAndGet("cd /tmp/hyprpm && git clone --recursive " + repo.url + " update"); if (!std::filesystem::exists("/tmp/hyprpm/update")) { std::cout << "\n" << std::string{Colors::RED} + "✖" + Colors::RESET + " could not clone repo: shell returned:\n" + ret; |
