Created
April 4, 2018 15:48
-
-
Save untoreh/dee9f93d2b00374f2fd7a88ff972d33b to your computer and use it in GitHub Desktop.
add all missing ubuntu ppa keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
KEYS=$(apt update 2>/dev/null | grep NO_PUBKEY | sed -r 's/.*NO_PUBKEY (.*)/\1/') | |
for k in $KEYS; do | |
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys $k | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment