From 25d22c829077f73a38050df0ee3ec2dbba8d47ec Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Wed, 10 Sep 2025 23:00:45 +0330 Subject: [PATCH] Remove /dev/null --- upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade.sh b/upgrade.sh index 4ce8c3d..7d0e9b9 100644 --- a/upgrade.sh +++ b/upgrade.sh @@ -35,8 +35,8 @@ install_mongodb() { os_name=$(grep '^ID=' /etc/os-release | cut -d= -f2 | tr -d '"') os_version=$(grep '^VERSION_ID=' /etc/os-release | cut -d= -f2 | tr -d '"') - apt-get update -qq >/dev/null - apt-get install -y gnupg curl lsb-release >/dev/null + apt-get update + apt-get install -y gnupg curl lsb-release curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor