Browse Source

Fix bug in webalizer detection

Kristan Kenney 6 years ago
parent
commit
7a0b661790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/upgrade/0.10.0-190430.sh

+ 1 - 1
install/upgrade/0.10.0-190430.sh

@@ -288,7 +288,7 @@ fi
 
 # Remove Webalizer and set AWStats as default
 WEBALIAZER_CHECK=$(cat $HESTIA/conf/hestia.conf | grep webalizer)
-if [ ! -z "$WEBALIZER_CHECK " ]; then
+if [ ! -z "$WEBALIZER_CHECK" ]; then
     echo "(*) Removing Webalizer and setting AWStats as default web statistics backend..."
     apt purge webalizer -y > /dev/null 2>&1
     sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf