From 6ce40e9393550c3d692951718b404ec16b7772b8 Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Tue, 21 May 2024 08:40:40 +0100 Subject: [PATCH] Update before_install.sh --- scripts/before_install.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/before_install.sh b/scripts/before_install.sh index 0b54991..6500244 100644 --- a/scripts/before_install.sh +++ b/scripts/before_install.sh @@ -1,23 +1,16 @@ #!/usr/bin/env bash - -touch /home/ubuntu/status.txt -echo "A" >> /home/ubuntu/status.txt sudo apt-get -y update # install golang sudo apt-get -y install golang-go - echo "D" >> /home/ubuntu/status.txt # install nodeJS and npm sudo apt -y install nodejs -echo "E" >> /home/ubuntu/status.txt sudo apt -y install npm -echo "F" >> /home/ubuntu/status.txt # Install MongoDB only if not already present if [ ! -f "/usr/bin/mongod" ]; then - echo "G" >> /home/ubuntu/status.txt sudo apt-get install gnupg curl curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \ sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \ @@ -26,7 +19,6 @@ if [ ! -f "/usr/bin/mongod" ]; then sudo apt-get update sudo apt-get install -y mongodb-org sudo apt-get install -y mongosh - echo "H" >> /home/ubuntu/status.txt fi sudo rm -rf /home/ubuntu/song-recognition