Update repokey

This commit is contained in:
peterpt 2022-01-25 17:11:13 +00:00 committed by GitHub
parent 480dcf66ee
commit cb7febe71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ echo ".....Dependencies Check Done....."
rchk () {
apt-get update &> /tmp/aptkey.log
awk '{print $1}' RS='NO_PUBKEY' /tmp/aptkey.log | sed '1d' | sort | uniq > /tmp/expkeys.log
awk '{print $1}' RS='EXPKEYSIG' /tmp/aptkey.log | sed '1d' | sort | uniq >> /tmp/expkeys.log
awk '{print $1}' RS='NO_PUBKEY' /tmp/aptkey.log | sed '1d' > /tmp/expkeys.log
awk '{print $1}' RS='EXPKEYSIG' /tmp/aptkey.log | sed '1d' >> /tmp/expkeys.log
sort /tmp/expkeys.log | uniq > /tmp/expkeystmp.log
rm /tmp/expkeys.log && mv /tmp/expkeystmp.log /tmp/expkeys.log
cntk=$(wc -l /tmp/expkeys.log | awk '{print$1}' | sed 's/ //g')