fixing depandencies

This commit is contained in:
godot 2024-07-18 18:52:56 +02:00
parent 6ccf4dd9c6
commit 6d9c423ab7

View File

@ -13,7 +13,7 @@ if [[ "$ansFirewallSetup" =~ ("N"|"n") ]]; then
printf "+ Thanks, working on next bit\n"
else
elif [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z $ansFirewallSetup ]]; then
printf "Do you want to block non-LAN ssh connections? [Y/n/castom]: "
read sshBlockRange
@ -58,7 +58,13 @@ sudo apt upgrade -y
# Installing depandencies
printf "\n+ Installing depandencies \n\n"
sudo apt install openjdk-17-jre-headless screen p7zip-full iptables -y
sudo apt install openjdk-21-jre-headless screen -y
if [[ "$ansFirewallSetup" =~ ("y"|"Y") || -z $ansFirewallSetup ]]; then
sudo apt install iptables -y
fi
# User and groupe managment
printf "\n+ Creating user minecraft and basic file structure"