Skip to content

Commit 7a0b661

Browse files
author
Kristan Kenney
committed
Fix bug in webalizer detection
1 parent 32b903f commit 7a0b661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/0.10.0-190430.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ fi
288288

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

0 commit comments

Comments
 (0)