Mettre à jour 'build.sh'
This commit is contained in:
parent
9924bddc69
commit
f057ba75af
7
build.sh
7
build.sh
|
@ -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
|
Loading…
Reference in New Issue