Further improvements
This commit is contained in:
parent
c76fb08f0a
commit
a234f45bf3
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
URL=https://admin.fedoraproject.org/ca/crl.pem
|
||||
OLD=/etc/pki/tls/crl.pem
|
||||
NEW=/var/tmp/crl.pem
|
||||
NEW=`mktemp`
|
||||
|
||||
wget $URL -O $NEW
|
||||
OLDUPDATE=`openssl crl -in $OLD -noout -lastupdate`
|
||||
|
@ -15,3 +15,4 @@ if [ "$OLDUPDATE" != "$NEWUPDATE" ]; then
|
|||
echo "updated to $NEWUPDATE"
|
||||
fi
|
||||
|
||||
rm -f $NEW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue