termux-packages/packages/snapcast-server/server-config.cpp.patch

12 lines
341 B
Diff
Raw Normal View History

2021-12-22 03:41:30 +01:00
--- 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/";