From 1f870b5adb9ecee7f17d500a0daacbc556b7fd24 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 13 Apr 2017 18:10:53 +0800 Subject: [PATCH] Sign and verify new release jars with GnuPG --- installer/portable/update-filebot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/portable/update-filebot.sh b/installer/portable/update-filebot.sh index 6967bdfb..542b594e 100755 --- a/installer/portable/update-filebot.sh +++ b/installer/portable/update-filebot.sh @@ -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