0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/below/below-config-src-lib.rs.patch
2022-04-11 11:04:10 +09:00

16 lines
590 B
Diff

--- a/below/config/src/lib.rs
+++ b/below/config/src/lib.rs
@@ -22,9 +22,9 @@
#[cfg(test)]
mod test;
-pub const BELOW_DEFAULT_CONF: &str = "/etc/below/below.conf";
-const BELOW_DEFAULT_LOG: &str = "/var/log/below";
-const BELOW_DEFAULT_STORE: &str = "/var/log/below/store";
+pub const BELOW_DEFAULT_CONF: &str = "@TERMUX_PREFIX@/etc/below/below.conf";
+const BELOW_DEFAULT_LOG: &str = "@TERMUX_PREFIX@/var/log/below";
+const BELOW_DEFAULT_STORE: &str = "@TERMUX_PREFIX@/var/log/below/store";
/// Global below config
pub static BELOW_CONFIG: OnceCell<BelowConfig> = OnceCell::new();