update-pentoo-keyring: more minor cleanup

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-06-19 23:44:47 -04:00
parent eb6d9fc1b5
commit 068ad80921
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -18,9 +18,8 @@ gpg --no-default-keyring --keyring "${tmpkeyring}" --keyserver keyserver.ubuntu.
curl https://github.com/web-flow.gpg | gpg --no-default-keyring --keyring "${tmpkeyring}" --import
#trust isn't exported
#echo -e "5\ny\n" | gpg --no-default-keyring --keyring "${tmpkeyring}" --command-fd 0 --edit-key "${github}" trust
printf "5\ny\n" | gpg --no-default-keyring --keyring "${tmpkeyring}" --command-fd 0 --edit-key "${github}" trust
gpg --no-default-keyring --keyring "${tmpkeyring}" --armor --export "${zero}" "${blshkv}" "${github}" > pentoo-keyring.asc
rm -f "${tmpkeyring}"
ls -al "${GNUPGHOME}"
rm -rf "${GNUPGHOME}"
unset GNUPGHOME