System: replaced whereis by command -v

This commit is contained in:
Lemmy
2025-12-29 17:02:34 -05:00
parent 95e013935e
commit 43c7824aca
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ Singleton {
function checkCliphistAvailability() {
if (dependencyChecked)
return;
dependencyCheckProcess.command = ["whereis", "cliphist"];
dependencyCheckProcess.command = ["sh", "-c", "command -v cliphist"];
dependencyCheckProcess.running = true;
}