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 5eb5ea3 commit 9601b78
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
@@ -1,6 +1,6 @@
#!/bin/bash

# Note: This script has been tested on an Ubuntu 22.04/24.04, RHEL 8/9 and Amazon Linux 2/2023. Testing on Debian 10/11, CentOS Stream 8/9 instance is currently in progress.
# Note: This script has been tested on an Ubuntu 22.04/24.04, RHEL 8/9, Debian 12 and Amazon Linux 2/2023. Testing on Debian 10/11, CentOS Stream 8/9 instance is currently in progress.

# Latest version successfully fetched
TOMCAT_VERSION=11.0.2
Expand Down Expand Up @@ -75,7 +75,7 @@ elif [ "$OS" = "ubuntu" ] || [ "$OS" = "debian" ]; then
sudo apt update -y
sudo apt-get upgrade -y
log "Installing Java Development Kit..."
sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo add-apt-repository ppa:openjdk-r/ppa -y || true
sudo apt install openjdk-$SUPPORTED_JAVA-jdk -y

log "Installed Java $SUPPORTED_JAVA successfully."
Expand Down

0 comments on commit 9601b78

Please sign in to comment.