Update install_pve.sh

This commit is contained in:
spiritlhl 2023-06-03 13:57:03 +08:00 committed by GitHub
parent 976fd23b65
commit 81b82df868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,6 +253,7 @@ if grep -q 'NO_PUBKEY' "$temp_file_apt_fix"; then
_green "Fixed"
fi
fi
rm "$temp_file_apt_fix"
output=$(apt-get update 2>&1)
if echo $output | grep -q "NO_PUBKEY"; then
_yellow "try sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys missing key"