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

14 lines
167 B
Bash
Executable File

#!/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