diff --git a/srcpkgs/caddy/template b/srcpkgs/caddy/template index e68b9f99e3c..bd5ad1f7dde 100644 --- a/srcpkgs/caddy/template +++ b/srcpkgs/caddy/template @@ -18,6 +18,10 @@ make_dirs=" /etc/caddy 0700 caddy caddy /var/lib/caddy 0700 caddy caddy" +pre_build() { + vsed -e 's,var EnableTelemetry = true,var EnableTelemetry = false,g' -i caddy/caddymain/run.go +} + post_install() { vsv caddy }