0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/mediamtx/internal-core-core.go.patch
2024-11-15 19:08:20 +05:30

15 lines
354 B
Diff

--- a/internal/core/core.go
+++ b/internal/core/core.go
@@ -42,9 +42,8 @@
var defaultConfPaths = []string{
"rtsp-simple-server.yml",
"mediamtx.yml",
- "/usr/local/etc/mediamtx.yml",
- "/usr/etc/mediamtx.yml",
- "/etc/mediamtx/mediamtx.yml",
+ "@TERMUX_PREFIX@/etc/mediamtx.yml",
+ "@TERMUX_PREFIX@/etc/mediamtx/mediamtx.yml",
}
var cli struct {