1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-27 11:25:26 +02:00
openwrt-packages/libs/libimobiledevice/patches/020-config.patch
Rosen Penev 7a1435e5f4 libimobiledevice: update to 2020-02-19
Added config directory patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-26 01:37:18 -08:00

12 lines
349 B
Diff

--- a/common/userpref.c
+++ b/common/userpref.c
@@ -159,7 +159,7 @@ const char *userpref_get_config_dir()
#ifdef __APPLE__
base_config_dir = strdup("/var/db");
#else
- base_config_dir = strdup("/var/lib");
+ base_config_dir = strdup("/etc");
#endif
#endif
__config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL);