mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
2fd0b421e2
Refreshed patches.
Release note: https://github.com/aristocratos/btop/releases/tag/v1.4.7
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit aa239844a8)
15 lines
467 B
Diff
15 lines
467 B
Diff
--- a/src/btop_config.cpp
|
|
+++ b/src/btop_config.cpp
|
|
@@ -824,10 +824,7 @@ namespace Config {
|
|
if (xdg_state_home_ptr != nullptr) {
|
|
xdg_state_home = std::make_optional(fs::path(xdg_state_home_ptr));
|
|
} else {
|
|
- const auto* home_ptr = std::getenv("HOME");
|
|
- if (home_ptr != nullptr) {
|
|
- xdg_state_home = std::make_optional(fs::path(home_ptr) / ".local" / "state");
|
|
- }
|
|
+ xdg_state_home = std::make_optional(fs::path("/tmp/log"));
|
|
}
|
|
}
|
|
|