Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix: prevent lefthook auto-sync from wiping the hook bootstrap

Gabe Kangas68a7e5bca519
diff --git a/Makefile b/Makefile
index a65e7a8f38..fdaf36587d 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ install-hooks: $(LEFTHOOK)
print " (cd \"$$__owncast_dir\" && make install-tools) >&2 || exit 1"; \
print "fi"; \
print "export LEFTHOOK_BIN"; \
+ sub(/call_lefthook run /, "call_lefthook run --no-auto-install "); \
done = 1 \
} { print }' "$$hook" > "$$hook.new" && mv "$$hook.new" "$$hook" && chmod +x "$$hook"; \
fi \