Browse Source

Minor mistakes in file names

Jaap Marcus 5 years ago
parent
commit
bbed383461
1 changed files with 2 additions and 2 deletions
  1. 2 2
      install/upgrade/manual/install_awstats_geoip.sh

+ 2 - 2
install/upgrade/manual/install_awstats_geoip.sh

@@ -30,8 +30,8 @@ fi
 if [ -d /etc/awstats ]; then
 if [ -d /etc/awstats ]; then
     perl -MCPAN -f -e "install Geo::IP::PurePerl"
     perl -MCPAN -f -e "install Geo::IP::PurePerl"
     perl -MCPAN -f -e "install Geo::IP"
     perl -MCPAN -f -e "install Geo::IP"
-    sed -i '/LoadPlugin=\"geoip GEOIP_STANDARD \/usr\/share\/GeoIP\/GeoIP.dat\"/s/^#//g' /etc/awstats.conf
-    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
     $HESTIA/bin/v-update-web-templates "yes"
     $HESTIA/bin/v-update-web-templates "yes"
 fi
 fi