aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgCoreInit.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-04-05 08:30:09 +0000
committerSaturneric <[email protected]>2023-04-05 08:30:09 +0000
commit89bf2b9f71ff71136f0a4d8120457c6553fa9024 (patch)
treee0fda9ac2f898cf11e1460dac091351eb1be89b1 /src/core/GpgCoreInit.cpp
parentfix: solve so lib dependency issues on ubuntu (diff)
downloadGpgFrontend-89bf2b9f71ff71136f0a4d8120457c6553fa9024.tar.gz
GpgFrontend-89bf2b9f71ff71136f0a4d8120457c6553fa9024.zip
fix: solve custom gpgconf path wrong issue
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r--src/core/GpgCoreInit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp
index b4d7f1fc..243dfb5e 100644
--- a/src/core/GpgCoreInit.cpp
+++ b/src/core/GpgCoreInit.cpp
@@ -175,8 +175,7 @@ void init_gpgfrontend_core() {
if (use_custom_gnupg_install_path) {
args.custom_gpgconf = true;
- args.custom_gpgconf_path =
- (custom_gnupg_install_fs_path / "gpgconf").u8string();
+ args.custom_gpgconf_path = custom_gnupg_install_fs_path.u8string();
}
args.offline_mode = forbid_all_gnupg_connection;
@@ -212,7 +211,7 @@ void init_gpgfrontend_core() {
if (use_custom_gnupg_install_path) {
args.custom_gpgconf = true;
args.custom_gpgconf_path =
- (custom_gnupg_install_fs_path / "gpgconf").u8string();
+ custom_gnupg_install_fs_path.u8string();
}
args.offline_mode = forbid_all_gnupg_connection;