File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -104,14 +104,16 @@ bash $DIR/scripts/countly.install.plugins.sh
104
104
# get web sdk
105
105
countly update sdk-web
106
106
107
- # close google services for China area
108
- if ping -c 1 google.com >> /dev/null 2>&1 ; then
109
- echo " Pinging Google successful. Enabling Google services."
110
- countly plugin disable EChartMap
111
- else
112
- echo " Cannot reach Google. Disabling Google services. You can enable this from Configurations later."
113
- countly config " frontend.use_google" false
114
- countly plugin enable EChartMap
107
+ if [ " $INSIDE_DOCKER " != " 1" ]; then
108
+ # close google services for China area
109
+ if ping -c 1 google.com >> /dev/null 2>&1 ; then
110
+ echo " Pinging Google successful. Enabling Google services."
111
+ countly plugin disable EChartMap
112
+ else
113
+ echo " Cannot reach Google. Disabling Google services. You can enable this from Configurations later."
114
+ countly config " frontend.use_google" false
115
+ countly plugin enable EChartMap
116
+ fi
115
117
fi
116
118
117
119
# compile scripts for production
You can’t perform that action at this time.
0 commit comments