Skip to content

Commit cf5b66b

Browse files
committed
Hide freshclam update and add Updating ClamAV comment.
1 parent 5c2302d commit cf5b66b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,6 @@ if [ "$clamd" = 'yes' ]; then
11881188
gpasswd -a clamav mail
11891189
gpasswd -a clamav Debian-exim
11901190
cp -f $hestiacp/clamav/clamd.conf /etc/clamav/
1191-
/usr/bin/freshclam
11921191
update-rc.d clamav-daemon defaults
11931192
if [ ! -d "/var/run/clamav" ]; then
11941193
mkdir /var/run/clamav
@@ -1202,6 +1201,8 @@ if [ "$clamd" = 'yes' ]; then
12021201
systemctl daemon-reload
12031202
fi
12041203
service clamav-daemon start
1204+
echo "Updating ClamAV..."
1205+
/usr/bin/freshclam > /dev/null 2>&1
12051206
check_result $? "clamav-daeom start failed"
12061207
fi
12071208

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,9 +1198,10 @@ if [ "$clamd" = 'yes' ]; then
11981198
gpasswd -a clamav mail
11991199
gpasswd -a clamav Debian-exim
12001200
cp -f $hestiacp/clamav/clamd.conf /etc/clamav/
1201-
/usr/bin/freshclam
12021201
update-rc.d clamav-daemon defaults
12031202
service clamav-daemon start
1203+
echo "Updating ClamAV..."
1204+
/usr/bin/freshclam > /dev/null 2>&1
12041205
check_result $? "clamav-daemon start failed"
12051206
fi
12061207

0 commit comments

Comments
 (0)