Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 773e42b

Browse files
committed
chore(setup-gpg): install gpg only if not exist
1 parent 4c42daf commit 773e42b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/import-gpg.sh renamed to tools/setup-gpg.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ EOF
1414
cat $GRADLE_PROPERTIES
1515
}
1616

17+
if ! dpkg -l gnupg | grep -q gnupg; then
18+
echo "No gnupg* found. Installing gnupg2..."
19+
apt install gnupg2
20+
fi
21+
1722
if [ ! -d $GRADLE_FOLDER ]
1823
then
1924
mkdir $GRADLE_FOLDER

0 commit comments

Comments
 (0)