Skip to content

Commit d5d3f63

Browse files
committed
Clear existing webalizer files.
1 parent 34504a7 commit d5d3f63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/upgrade/versions/1.0.3.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,8 @@ WEBALIZER_CHECK=$(cat $HESTIA/conf/hestia.conf | grep webalizer)
4545
if [ ! -z "$WEBALIZER_CHECK" ]; then
4646
echo "(*) Removing Webalizer and setting AWStats as default web statistics backend..."
4747
apt purge webalizer -y > /dev/null 2>&1
48+
rm -fr $HESTIA/data/templates/web/webalizer
49+
rm -fr $HESTIA/install/deb/templates/web/webalizer
50+
rm -fr /var/www/webalizer
4851
sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
4952
fi

0 commit comments

Comments
 (0)