update variable to check telemetry

This commit is contained in:
Maidul Islam
2023-01-05 22:12:54 -05:00
parent b60f0c1556
commit 37c66c2499

View File

@@ -2,7 +2,7 @@
scripts/replace-variable.sh "$BAKED_NEXT_PUBLIC_POSTHOG_API_KEY" "$NEXT_PUBLIC_POSTHOG_API_KEY"
if [ "$INFISICAL_TELEMETRY_ENABLED" != "false" ]; then
if [ "$TELEMETRY_ENABLED" != "false" ]; then
echo "Telemetry is enabled"
scripts/set-telemetry.sh true
else