termux-packages/packages/snapcast-server/server-config.cpp.patch
2021-12-23 15:43:16 +02:00

12 lines
341 B
Diff

--- a/server/config.cpp
+++ b/server/config.cpp
@@ -43,7 +43,7 @@
if (!root_directory.empty())
dir = root_directory;
else if (getenv("HOME") == nullptr)
- dir = "/var/lib/snapserver/";
+ dir = "@TERMUX_PREFIX@/var/lib/snapserver/";
else
dir = string(getenv("HOME")) + "/.config/snapserver/";