mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update unifi-install.sh
always download latest libssl
This commit is contained in:
parent
7759ecf7dd
commit
7f02d0e51b
@ -29,7 +29,8 @@ $STD apt-get install -y temurin-17-jre
|
||||
msg_ok "Installed OpenJDK"
|
||||
|
||||
msg_info "Installing MongoDB"
|
||||
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
|
||||
libssl=$(curl -fsSL "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" | grep -o 'libssl1\.1_1\.1\.1f-1ubuntu2\.2[^"]*amd64\.deb' | head -n1)
|
||||
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$libssl
|
||||
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
|
||||
wget -qO- https://pgp.mongodb.com/server-4.4.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg
|
||||
echo 'deb [ arch=amd64 signed-by=/etc/apt/trusted.gpg.d/mongodb-server-4.4.gpg ] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main' >/etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||
|
Loading…
Reference in New Issue
Block a user