Add gpg verify to clamav-clean.sh script

This commit is contained in:
Sérgio M. Basto 2018-10-04 13:19:12 +01:00
parent 4b6e1ae58a
commit 2db21ae8c4
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ TARBALL_CLEAN=${NAME}-${VERSION}-norar.tar.xz
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}
#rm -f ${TARBALL}.tmp
zcat ${TARBALL} | tar --delete -f - '*/libclamunrar/*' | xz -c > ${TARBALL_CLEAN}
#mv ${TARBALL}.tmp ${TARBALL_CLEAN}