Skip to content

Commit 1706e5d

Browse files
author
Kristan Kenney
committed
Fix bug in webalizer detection
1 parent f356113 commit 1706e5d

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
@@ -289,7 +289,7 @@ fi
289289

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

0 commit comments

Comments
 (0)