Try and make this not send emails most of the time.

This commit is contained in:
Kevin Fenzi 2014-08-27 16:09:17 +00:00
parent bcd2f6a3f8
commit 16564bfeb7

View file

@ -4,7 +4,7 @@ URL=https://admin.fedoraproject.org/ca/crl.pem
OLD=/etc/pki/tls/crl.pem
NEW=/tmp/crl.pem
wget $URL -O $NEW
wget -q $URL -O $NEW
OLDUPDATE=`openssl crl -in $OLD -noout -lastupdate`
NEWUPDATE=`openssl crl -in $NEW -noout -lastupdate`
@ -12,5 +12,4 @@ if [ "$OLDUPDATE" != "$NEWUPDATE" ]; then
mv $NEW $OLD
restorecon $OLD
/etc/init.d/httpd graceful
echo "updated to $NEWUPDATE"
fi