mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Remove apt-key warning
This commit is contained in:
parent
d4e2a2c773
commit
df3e75d5f4
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ installdeps(){
|
|||
sudo yunohost service add mongodb -l /var/log/mongodb/mongodb.log
|
||||
else
|
||||
#Install mongodb for debian x86/x64
|
||||
sudo apt-get install dirmngr && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
|
||||
sudo apt-get install dirmngr
|
||||
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
|
||||
echo "deb http://repo.mongodb.org/apt/debian ${DEBIAN_ISSUE}/mongodb-org/4.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y mongodb-org
|
||||
|
|
Loading…
Reference in a new issue