zeus
4 years ago
2 changed files with 15 additions and 12 deletions
@ -1,5 +1,8 @@ |
|||||
#!/bin/sh |
#!/bin/sh |
||||
|
|
||||
sudo rm -f /etc/apt/sources.list.d/repo_mongodb_org_apt_ubuntu.list |
sudo rm -f /etc/apt/sources.list.d/repo_mongodb_org_apt_ubuntu.list |
||||
|
sudo rm -f /etc/apt/sources.list.d/mongodb*.list |
||||
|
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 656408E390CFB1F5 |
||||
|
echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu $(lsb_release -sc)/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org.list |
||||
|
|
||||
|
|
||||
|
Loading…
Reference in new issue