We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40726a4 commit bbed383Copy full SHA for bbed383
install/upgrade/manual/install_awstats_geoip.sh
@@ -30,8 +30,8 @@ fi
30
if [ -d /etc/awstats ]; then
31
perl -MCPAN -f -e "install Geo::IP::PurePerl"
32
perl -MCPAN -f -e "install Geo::IP"
33
- sed -i '/LoadPlugin=\"geoip GEOIP_STANDARD \/usr\/share\/GeoIP\/GeoIP.dat\"/s/^#//g' /etc/awstats.conf
34
- echo "LoadPlugin=\"geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat\"" >> $HESTIA/data/templates/web/awstats/awstats.conf
+ sed -i '/LoadPlugin=\"geoip GEOIP_STANDARD \/usr\/share\/GeoIP\/GeoIP.dat\"/s/^#//g' /etc/awstats/awstats.conf
+ echo "LoadPlugin=\"geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat\"" >> $HESTIA/data/templates/web/awstats/awstats.tpl
35
$HESTIA/bin/v-update-web-templates "yes"
36
fi
37
0 commit comments