1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 22:09:47 -04:00

Sign and verify new release jars with GnuPG

This commit is contained in:
Reinhard Pointner 2017-04-13 18:10:53 +08:00
parent 33e980e114
commit 1f870b5adb

View File

@ -58,7 +58,7 @@ fi
GPG_HOME="$APP_ROOT/.gpg"
JAR_XZ_FILE="$APP_ROOT/FileBot.jar.xz"
if [ -d "$GPG_HOME" ]; then
if [ ! -d "$GPG_HOME" ]; then
mkdir -p -m 700 "$GPG_HOME" && gpg --homedir "$GPG_HOME" --import "$APP_ROOT/filebot.pub"
fi