Skip to content

Instantly share code, notes, and snippets.

@revolunet
Created March 7, 2011 21:19
Show Gist options
  • Select an option

  • Save revolunet/859255 to your computer and use it in GitHub Desktop.

Select an option

Save revolunet/859255 to your computer and use it in GitHub Desktop.
add a key to apt-get
#!/bin/sh
gpg --keyserver pgpkeys.mit.edu --recv-key $1
gpg -a --export $1| apt-key add -
echo "done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment