fix if statements
This commit is contained in:
parent
608ba68e9a
commit
1f2493aae6
1 changed files with 48 additions and 43 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null;
|
||||||
|
then
|
||||||
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
||||||
cd myLinuxConfiguration
|
cd myLinuxConfiguration
|
||||||
# Install Fish
|
# Install Fish
|
||||||
|
@ -12,7 +14,7 @@ sudo apt update && sudo apt install texlive-full -y
|
||||||
# Install Java
|
# Install Java
|
||||||
bash installJava.sh
|
bash installJava.sh
|
||||||
|
|
||||||
if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null;
|
if grep "Ubuntu" /proc/version > /dev/null;
|
||||||
then
|
then
|
||||||
# Install Brave
|
# Install Brave
|
||||||
bash installBrave.sh
|
bash installBrave.sh
|
||||||
|
@ -51,3 +53,6 @@ fi
|
||||||
# Supprime le repo
|
# Supprime le repo
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf myLinuxConfiguration
|
rm -rf myLinuxConfiguration
|
||||||
|
else
|
||||||
|
echo "Your distribution isn't supported."
|
||||||
|
fi
|
||||||
|
|
Reference in a new issue