clamav/clamav-clean.sh

10 lines
354 B
Bash
Raw Normal View History

2020-02-09 22:03:38 +00:00
VERSION=0.102.2
2018-07-12 03:16:22 +00:00
NAME=clamav
2018-10-04 05:58:44 +00:00
TARBALL_CLEAN=${NAME}-${VERSION}-norar.tar.xz
2018-07-12 03:16:22 +00:00
TARBALL=${NAME}-${VERSION}.tar.gz
wget https://www.clamav.net/downloads/production/${TARBALL}
wget https://www.clamav.net/downloads/production/${TARBALL}.sig
gpg --verify ${TARBALL}.sig ${TARBALL}
2018-10-04 05:58:44 +00:00
zcat ${TARBALL} | tar --delete -f - '*/libclamunrar/*' | xz -c > ${TARBALL_CLEAN}