Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
update-prod-static: Only run generate_landing_page_images if necessary.
Alex Vandiver89f824c769be
diff --git a/tools/update-prod-static b/tools/update-prod-staticindex 37c490bb616..4aa0b80b21f 100755--- a/tools/update-prod-static+++ b/tools/update-prod-static@@ -42,8 +42,10 @@ run(["./tools/setup/build_pygments_data"])# Build time zone datarun(["./tools/setup/build_timezone_values"])-# Generate landing page images of various sizes and formats.-run(["tools/setup/generate_landing_page_images.py"])+# Generate landing page images of various sizes and formats if we will+# need them.+if settings.CORPORATE_ENABLED:+ run(["./tools/setup/generate_landing_page_images.py"])# Create webpack bundlerun(["./tools/webpack", "--quiet"])