mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
16 lines
590 B
Diff
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();
|