From 9c22e79dec476b2c1524e252e119077af9265343 Mon Sep 17 00:00:00 2001 From: ljf Date: Sat, 23 Dec 2017 00:05:14 +0100 Subject: [PATCH] [fix] Bad signature --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 01db154..8455cd4 100755 --- a/scripts/install +++ b/scripts/install @@ -51,7 +51,7 @@ ynh_app_setting_set $app port $port ynh_install_nodejs 4.8.4 # Install mongodb -apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 +apt-key adv --fetch-keys https://www.mongodb.org/static/pgp/server-3.2.asc echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list ynh_install_app_dependencies "mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools" diff --git a/scripts/restore b/scripts/restore index 3ce5f5b..3198973 100644 --- a/scripts/restore +++ b/scripts/restore @@ -55,7 +55,7 @@ ynh_system_user_create $app "$final_path" ynh_install_nodejs 4.8.4 # Install mongodb -apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 +apt-key adv --fetch-keys https://www.mongodb.org/static/pgp/server-3.2.asc echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" > /etc/apt/sources.list.d/mongodb-org-3.2.list ynh_install_app_dependencies "mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools" diff --git a/scripts/upgrade b/scripts/upgrade index 1a3eb3e..7059792 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,7 +53,7 @@ if ynh_version_gt "0.54-2" "${version}" ; then fi if ynh_version_gt "0.54-3" "${version}" ; then apt-key del EA312927 - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 + apt-key adv --fetch-keys https://www.mongodb.org/static/pgp/server-3.2.asc fi #=================================================