3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/plasma-5/plasma-vault/encfs-path.patch

23 lines
904 B
Diff
Raw Normal View History

2017-10-11 06:37:54 +01:00
diff --git a/kded/engine/backends/encfs/encfsbackend.cpp b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 11:29:15 +01:00
index 628af7b..6edd38e 100644
2017-10-11 06:37:54 +01:00
--- a/kded/engine/backends/encfs/encfsbackend.cpp
+++ b/kded/engine/backends/encfs/encfsbackend.cpp
2018-09-20 11:29:15 +01:00
@@ -137,7 +137,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
auto config = KSharedConfig::openConfig(PLASMAVAULT_CONFIG_FILE);
KConfigGroup backendConfig(config, "EncfsBackend");
2017-10-11 06:37:54 +01:00
2018-09-20 11:29:15 +01:00
- return process("encfs",
+ return process(NIXPKGS_ENCFS,
arguments + backendConfig.readEntry("extraMountOptions", QStringList{}),
{});
2017-10-11 06:37:54 +01:00
}
2018-09-20 11:29:15 +01:00
@@ -146,7 +146,7 @@ QProcess *EncFsBackend::encfs(const QStringList &arguments) const
2017-10-11 06:37:54 +01:00
QProcess *EncFsBackend::encfsctl(const QStringList &arguments) const
{
- return process("encfsctl", arguments, {});
+ return process(NIXPKGS_ENCFSCTL, arguments, {});
}