utils/bash/cygwin/bin/cyg-import-key

14 lines
167 B
Plaintext
Raw Normal View History

2017-09-20 05:23:07 +00:00
#!/bin/bash
PUBKEY_URL="https://cygwin.com/key/pubring.asc"
TMP=$( mktemp )
function __o { rm $TMP; }
trap __o EXIT
curl "$PUBKEY_URL" > $TMP
gpg2 --import $TMP