add fix for gpg

tahnks to @tteck !
pull/2473/head
Jan 1 year ago
parent 7dfb91c8c3
commit dd3754f4b5
  1. 7
      install/apache-couchdb-install.sh

@ -22,9 +22,10 @@ $STD apt-get install -y gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Apache CouchDB" msg_info "Installing Apache CouchDB"
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | tee /usr/share/keyrings/couchdb-archive-keyring.gpg
source /etc/os-release curl -fsSL https://couchdb.apache.org/repo/keys.asc | gpg --dearmor -o /usr/share/keyrings/couchdb-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/couchdb.sources.list VERSION_CODENAME="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/couchdb.sources.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y couchdb $STD apt-get install -y couchdb
msg_ok "Installed Apache CouchDB" msg_ok "Installed Apache CouchDB"

Loading…
Cancel
Save