clamav/clamav-clean.sh

10 lines
354 B
Bash
Raw Normal View History

2020-01-31 05:09:12 +00:00
VERSION=0.101.5
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}