Skip to content

Commit

Permalink
Update apache-tomcat.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tekadesukant authored Jan 29, 2025
1 parent c7c6e13 commit 5eb5ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apache-tomcat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ elif [ "$OS" = "rhel" ] || [ "$OS" = "centos" ]; then
log "Installed Java $SUPPORTED_JAVA successfully."
elif [ "$OS" = "ubuntu" ] || [ "$OS" = "debian" ]; then
log "Ubuntu detected. Updating package lists..."
sudo apt update
sudo apt-get upgrade
sudo apt update -y
sudo apt-get upgrade -y
log "Installing Java Development Kit..."
sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo apt install openjdk-$SUPPORTED_JAVA-jdk -y
Expand Down

0 comments on commit 5eb5ea3

Please sign in to comment.