File: setup_gpg

package info (click to toggle)
triplea 1.9.0.0.7062-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 25,964 kB
  • sloc: java: 143,218; xml: 70,206; sh: 133; makefile: 7
file content (10 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -e
#
# This script sets up GnuPG (GPG) for use during a Travis build.
#

if [[ -z "$GPG_PRIVATE_KEY" ]]; then
  echo "GPG_PRIVATE_KEY not set; GPG operations will not be available in this build"
else
  gpg2 --import <(echo "$GPG_PRIVATE_KEY")
fi