nginx.sh updated

This commit is contained in:
Fr4nz D13trich 2025-10-08 09:15:20 +02:00
parent 7a938f58c3
commit ac7ede83b7

View file

@ -2,7 +2,7 @@
### DEPENDENCY CHECK ### DEPENDENCY CHECK
bin="openssl" bin="openssll"
echo -e "\nDependency and Privilege Check running...\n" echo -e "\nDependency and Privilege Check running...\n"
@ -22,13 +22,14 @@ else
while true; do while true; do
read -p "Do you wish to install $bin via APT? : " install read -p "Do you wish to install $bin via APT? : " install
if ["$install" == "yY"]; then if [[ "$install" = "y" || "$install" = "Y" ]]; then
sudo apt update && sudo apt install -y $bin sudo apt update && sudo apt install -y $bin
echo -e "\n$bin installed. Proceeding...\n" echo -e "\n$bin installed. Proceeding...\n"
elif ["$install" == "nN"]; elif [[ "$install" == "n" || "$install" = "N" ]]; then
echo -e "Dependencies not installed... Exiting" echo -e "Dependencies not installed... Exiting"
exit 0 exit 1
else else
echo -e "Invalid response... Try again..." echo -e "Invalid response... Try again..."
fi fi