Mettre à jour 'build.sh'

This commit is contained in:
virtubox 2018-05-31 10:30:16 +00:00
parent 9924bddc69
commit f057ba75af
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
current=$(pwd)
apt-get update >> /tmp/clamav.log 2>&1
apt-get install -y git build-essential automake autoconf zlib1g-dev libssl-dev >> /tmp/clamav.log 2>&1
@ -11,4 +13,7 @@ cd clamav-0.100.0 || exit
./configure
make -j "$(nproc)"
make install
make install
cp $current/cron/freshclam /etc/cron.daily/freshclam
chmod +x /etc/cron.daily/freshclam