Browse Source

add mongo

master
zeus 4 years ago
parent
commit
b1c8c797fb
  1. 6
      install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh

6
install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/files/mongo-update.sh

@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
sudo apt-key list | \ sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com --refresh-keys
grep "expired: " | \
sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | \
xargs -n1 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys

Loading…
Cancel
Save