Skip to content

Commit

Permalink
Fix: Installed p7zip not found due to path being omitted
Browse files Browse the repository at this point in the history
Tested on 64-bit Mageia 9
  • Loading branch information
MagicD3VIL committed Dec 24, 2023
1 parent f6d57f9 commit 2e46a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lampray/Control/lampConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ bool Lamp::Core::lampConfig::init() {
bit7zLibaryLocation = "/usr/libexec/p7zip/7z.so";
} else if (exists(std::filesystem::path{"/usr/lib/p7zip/7z.so"})) {
bit7zLibaryLocation = "/usr/lib/p7zip/7z.so";
} else if (exists(std::filesystem::path{"/usr/lib64/p7zip/7z.so"})) {
bit7zLibaryLocation = "/usr/lib64/p7zip/7z.so";
} else if (exists(std::filesystem::path{"/usr/libexec/7z.so"})) {
bit7zLibaryLocation = "/usr/libexec/7z.so";
} else {
Expand Down

0 comments on commit 2e46a96

Please sign in to comment.