Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
setup-apt-repo: Fix GPG check of groonga-apt-source-*.deb.
Anders Kaseorg54b08ee30b60
diff --git a/scripts/setup/apt-repos/zulip/custom.sh b/scripts/setup/apt-repos/zulip/custom.shindex c8fc1f1bd1c..0720d88b2fb 100755--- a/scripts/setup/apt-repos/zulip/custom.sh+++ b/scripts/setup/apt-repos/zulip/custom.sh@@ -1,6 +1,9 @@#!/usr/bin/env bash+set -euo pipefailif [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then+ pgroonga_apt_sign_key=$(readlink -f "$LIST_PATH/pgroonga-packages.groonga.org.asc")+remove_pgroonga_apt_tmp_dir() {rm -rf "$pgroonga_apt_tmp_dir"}@@ -10,7 +13,6 @@ if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then{cd "$pgroonga_apt_tmp_dir" || exit 1tmp_gpg_home=.gnupg- pgroonga_apt_sign_key="$LIST_PATH/pgroonga-packages.groonga.org.asc"gpg --homedir="$tmp_gpg_home" --import "$pgroonga_apt_sign_key"# Find fingerprint of the first key.pgroonga_apt_sign_key_fingerprint=$(