From b64c6aae4997dbf4a138cb4101fee0f8a09ff472 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Sun, 25 Aug 2024 19:35:41 +0200 Subject: [PATCH] [linux] set default data directory location to '/var/lib/boinc'. Official BOINC packages for Linux use '/var/lib/boinc' directory instead of '/var/lib/boinc-client'. This fixes #5775. Signed-off-by: Vitalii Koshura --- lib/common_defs.h | 2 +- lib/gui_rpc_client.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common_defs.h b/lib/common_defs.h index 034555c4e8..c5cbcb6a71 100644 --- a/lib/common_defs.h +++ b/lib/common_defs.h @@ -420,7 +420,7 @@ struct DEVICE_STATUS { // You can define this in "configure" if you want. // #ifndef LINUX_DEFAULT_DATA_DIR -#define LINUX_DEFAULT_DATA_DIR "/var/lib/boinc-client" +#define LINUX_DEFAULT_DATA_DIR "/var/lib/boinc" #endif #endif diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index c41a77adf1..f4765f38de 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -409,7 +409,7 @@ int RPC::parse_reply() { // Linux: look in: // - current dir // - a directory specified in /etc/boinc-client/config.properties -// - /var/lib/boinc-client +// - /var/lib/boinc // // Note: the Manager (on all platforms) has a -datadir cmdline option. // If present, it chdirs to that directory.