From b1c8c797fbf5add71e7d2292ed97977e73a8576a Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Mar 2021 01:13:20 +0200 Subject: [PATCH] add mongo --- .../project/courses/mongodb-org-shell/files/mongo-update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh index 903817b..0ea46fb 100644 --- a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh +++ b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh @@ -1,7 +1,5 @@ #!/bin/sh -sudo apt-key list | \ - grep "expired: " | \ - sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | \ - xargs -n1 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys +sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com --refresh-keys +