nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 25 lines 927 B view raw
1From af54a2a37655df26a33bc6783cb472c38f65322f Mon Sep 17 00:00:00 2001 2From: Thomas Tuegel <ttuegel@mailbox.org> 3Date: Sun, 28 Mar 2021 10:31:12 -0500 4Subject: [PATCH 1/2] Remove impure smbd search path 5 6--- 7 src/core/ksambashare.cpp | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10diff --git a/src/core/ksambashare.cpp b/src/core/ksambashare.cpp 11index e810ce4..7cfb4e6 100644 12--- a/src/core/ksambashare.cpp 13+++ b/src/core/ksambashare.cpp 14@@ -61,7 +61,7 @@ KSambaSharePrivate::~KSambaSharePrivate() 15 bool KSambaSharePrivate::isSambaInstalled() 16 { 17 const bool daemonExists = 18- !QStandardPaths::findExecutable(QStringLiteral("smbd"), {QStringLiteral("/usr/sbin/"), QStringLiteral("/usr/local/sbin/")}).isEmpty(); 19+ !QStandardPaths::findExecutable(QStringLiteral("smbd")).isEmpty(); 20 if (!daemonExists) { 21 qCDebug(KIO_CORE_SAMBASHARE) << "KSambaShare: Could not find smbd"; 22 } 23-- 242.30.1 25