diff options
Diffstat (limited to 'pkgs/kde/gear/kdenetwork-filesharing/smbd-path.patch')
-rw-r--r-- | pkgs/kde/gear/kdenetwork-filesharing/smbd-path.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/kde/gear/kdenetwork-filesharing/smbd-path.patch b/pkgs/kde/gear/kdenetwork-filesharing/smbd-path.patch new file mode 100644 index 000000000000..e6e4e73333a7 --- /dev/null +++ b/pkgs/kde/gear/kdenetwork-filesharing/smbd-path.patch @@ -0,0 +1,14 @@ +diff --git a/samba/filepropertiesplugin/sambausershareplugin.cpp b/samba/filepropertiesplugin/sambausershareplugin.cpp +index d5c8d77..11c45d4 100644 +--- a/samba/filepropertiesplugin/sambausershareplugin.cpp ++++ b/samba/filepropertiesplugin/sambausershareplugin.cpp +@@ -112,7 +112,8 @@ SambaUserSharePlugin::SambaUserSharePlugin(QObject *parent) + bool SambaUserSharePlugin::isSambaInstalled() + { + return QFile::exists(QStringLiteral("/usr/sbin/smbd")) +- || QFile::exists(QStringLiteral("/usr/local/sbin/smbd")); ++ || QFile::exists(QStringLiteral("/usr/local/sbin/smbd")) ++ || QFile::exists(QStringLiteral("/run/current-system/sw/bin/smbd")); + } + + void SambaUserSharePlugin::showSambaStatus() |