clamav/clamav-clean.sh

12 lines
412 B
Bash
Raw Normal View History

2018-10-04 05:58:44 +00:00
VERSION=0.100.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
#rm -f ${TARBALL}.tmp
zcat ${TARBALL} | tar --delete -f - '*/libclamunrar/*' | xz -c > ${TARBALL_CLEAN}
#mv ${TARBALL}.tmp ${TARBALL_CLEAN}