diff options
| author | zakk4223 <zakk@rsdio.com> | 2024-04-04 11:33:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 16:33:36 +0100 |
| commit | 846162cce16b78a3d5c23225a7d5733e52a24ec0 (patch) | |
| tree | 1562b98554044e6e74c20d31a785c0962ed68471 /hyprpm/src/core/PluginManager.cpp | |
| parent | 81766647f2dc34013a62066edd191426b8f16a42 (diff) | |
hyprpm: Use proper path to update repo when processing user provided revision (#5414)
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 965f2e9d..9f0a54e0 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -510,7 +510,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) { if (!repo.rev.empty()) { progress.printMessageAbove(std::string{Colors::RESET} + " → Plugin has revision set, resetting: " + repo.rev); - std::string ret = execAndGet("git -C /tmp/hyprpm reset --hard --recurse-submodules " + repo.rev); + std::string ret = execAndGet("git -C /tmp/hyprpm/update reset --hard --recurse-submodules " + repo.rev); if (ret.compare(0, 6, "fatal:") == 0) { std::cout << "\n" << std::string{Colors::RED} + "✖" + Colors::RESET + " could not check out revision " + repo.rev + ": shell returned:\n" + ret; return false; |
