legio-30/docker/scripts/setup-environment.sh

4 lines
151 B
Bash
Raw Normal View History

2022-11-10 11:06:14 -05:00
#!/usr/bin/env sh
if [ -n "$ANALYTICS" ]; then sed -i -e "s/:[[:space:]]\?['\"]{{ANALYTICS}}['\"]/:'$ANALYTICS'/g" /usr/share/nginx/html/main*.js; fi