mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 11:50:52 +00:00
- Reverts https://github.com/termux/termux-packages/pull/22319
- Reverts 6b81c67da1
- See https://github.com/termux/termux-packages/issues/27538#issuecomment-3619852988
- After https://github.com/termux/termux-packages/pull/21620
- Needed for packaging `iloader`
15 lines
372 B
Diff
15 lines
372 B
Diff
--- a/src/conf.c
|
|
+++ b/src/conf.c
|
|
@@ -127,9 +127,9 @@
|
|
}
|
|
#else
|
|
#ifdef __APPLE__
|
|
- base_config_dir = strdup("/var/db");
|
|
+ base_config_dir = strdup("@TERMUX_PREFIX@/var/db");
|
|
#else
|
|
- base_config_dir = strdup("/var/lib");
|
|
+ base_config_dir = strdup("@TERMUX_PREFIX@/var/lib");
|
|
#endif
|
|
#endif
|
|
__config_dir = string_concat(base_config_dir, DIR_SEP_S, CONFIG_DIR, NULL);
|