File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -429,11 +429,11 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
429429
430430 if [[ $EE_CURRENT_VERSION = 2.1.0 ]]; then
431431
432- # Change permission of EasyEngine log folder
432+ # Change permission of EasyEngine log folder
433433 chmod -R 700 /var/log/easyengine \
434434 || ee_lib_error " Unable to change permissions for EasyEngine log folder, exit status = " $?
435435
436- # RAM based optimization settings
436+ # RAM based optimization settings
437437 ee_lib_ram
438438
439439 if [ -f /etc/php5/fpm/pool.d/www.conf ]; then
@@ -458,12 +458,12 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then
458458 # Add PHP GeoIP module
459459 dpkg --get-selections | grep -v deinstall | grep php5-fpm & >> $EE_UPDATE_LOG
460460 if [ $? -eq 0 ]; then
461+ $EE_APT_GET install php5-geoip
461462 ee_lib_echo " Downloading GeoIP Database, please wait..."
462463 mkdir -p /usr/share/GeoIP
463464 wget -qO /usr/share/GeoIP/GeoLiteCity.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
464465 gunzip /usr/share/GeoIP/GeoLiteCity.dat.gz
465466 mv /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
466- $EE_APT_GET install php5-geoip
467467 fi
468468
469469 # Change Anemometer login details
You can’t perform that action at this time.
0 commit comments