fix if statements
This commit is contained in:
parent
608ba68e9a
commit
1f2493aae6
1 changed files with 48 additions and 43 deletions
|
@ -1,19 +1,21 @@
|
|||
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
||||
cd myLinuxConfiguration
|
||||
# Install Fish
|
||||
bash installFish.sh
|
||||
|
||||
# Install gl4D
|
||||
bash installgl4D.sh
|
||||
|
||||
# Install Latex
|
||||
sudo apt update && sudo apt install texlive-full -y
|
||||
|
||||
# Install Java
|
||||
bash installJava.sh
|
||||
|
||||
if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null;
|
||||
then
|
||||
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
||||
cd myLinuxConfiguration
|
||||
# Install Fish
|
||||
bash installFish.sh
|
||||
|
||||
# Install gl4D
|
||||
bash installgl4D.sh
|
||||
|
||||
# Install Latex
|
||||
sudo apt update && sudo apt install texlive-full -y
|
||||
|
||||
# Install Java
|
||||
bash installJava.sh
|
||||
|
||||
if grep "Ubuntu" /proc/version > /dev/null;
|
||||
then
|
||||
# Install Brave
|
||||
bash installBrave.sh
|
||||
|
||||
|
@ -46,8 +48,11 @@ then
|
|||
|
||||
# Install EmojiPicker and its keyboard shortcut
|
||||
bash installEmojiPicker.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
# Supprime le repo
|
||||
cd ..
|
||||
rm -rf myLinuxConfiguration
|
||||
# Supprime le repo
|
||||
cd ..
|
||||
rm -rf myLinuxConfiguration
|
||||
else
|
||||
echo "Your distribution isn't supported."
|
||||
fi
|
||||
|
|
Reference in a new issue