feature(delta): use WEBI_UA for curl.exe
[webi-installers/.git] / gnupg / install.sh
1 #!/bin/bash
2 # title: GnuPG (gpg alias)
3 # homepage: https://webinstall.dev/gpg
4 # tagline: Alias for https://webinstall.dev/gpg
5 # alias: gpg
6 # description: |
7 #   See https://webinstall.dev/gpg
8
9 echo "'gnupg@${WEBI_TAG:-stable}' is an alias for 'gpg@${WEBI_VERSION:-}'"
10 WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
11 curl -fsSL "$WEBI_HOST/gpg@${WEBI_VERSION:-}" | bash