Skip to content

Commit

Permalink
Update installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedi6431 authored Jun 13, 2024
1 parent ba8099f commit 766d37c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Installer/Linux/installer.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

banner="What are you using:
1 Linux
2 Tremux
2 Termux
"

read -p -n 1 "Enter system choice: " system
read -p "Enter system choice: " system

if [ $system = 1 ]; then
username=$USER
Expand All @@ -14,10 +15,10 @@ if [ $system = 1 ]; then
sudo apt autoremove -y

cd /home/$username/Desktop/
sudo apt install default-jdk
sudo apt install default-jdk -y
java -version

echo Now you can use LHE-Local_Host_Executer made by Fedi6431
echo "Now you can use LHE-Local_Host_Executer made by Fedi6431"

elif [ $system = 2 ]; then
apt update -y
Expand All @@ -26,5 +27,5 @@ elif [ $system = 2 ]; then

pkg install openjdk -y
java -version
echo Now you can use LHE-Local_Host_Executer made by Fedi6431
echo "Now you can use LHE-Local_Host_Executer made by Fedi6431"
fi

0 comments on commit 766d37c

Please sign in to comment.