fix if statements
This commit is contained in:
parent
608ba68e9a
commit
1f2493aae6
1 changed files with 48 additions and 43 deletions
|
@ -1,53 +1,58 @@
|
||||||
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;
|
if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null;
|
||||||
then
|
then
|
||||||
# Install Brave
|
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
||||||
bash installBrave.sh
|
cd myLinuxConfiguration
|
||||||
|
# Install Fish
|
||||||
|
bash installFish.sh
|
||||||
|
|
||||||
# Uninstall Firefox
|
# Install gl4D
|
||||||
sudo snap remove firefox && rm -r $HOME/snap/firefox
|
bash installgl4D.sh
|
||||||
|
|
||||||
# Install Spotify
|
# Install Latex
|
||||||
bash installSpotify.sh
|
sudo apt update && sudo apt install texlive-full -y
|
||||||
|
|
||||||
# Install Syncthing
|
|
||||||
bash installSyncthing.sh
|
|
||||||
|
|
||||||
# Install Discord
|
|
||||||
wget -q --show-progress "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb && sudo apt install ./discord.deb -y && rm discord.deb
|
|
||||||
|
|
||||||
# Install Obsidian
|
|
||||||
bash installObsidian.sh
|
|
||||||
|
|
||||||
# Install Flameshot
|
|
||||||
sudo apt update && sudo apt install flameshot -y
|
|
||||||
|
|
||||||
# Install Parsec
|
|
||||||
bash installParsec.sh
|
|
||||||
|
|
||||||
# Install Java
|
# Install Java
|
||||||
bash installJava.sh
|
bash installJava.sh
|
||||||
|
|
||||||
# Install OnlyOffice
|
if grep "Ubuntu" /proc/version > /dev/null;
|
||||||
bash installOnlyoffice.sh
|
then
|
||||||
|
# Install Brave
|
||||||
|
bash installBrave.sh
|
||||||
|
|
||||||
# Install EmojiPicker and its keyboard shortcut
|
# Uninstall Firefox
|
||||||
bash installEmojiPicker.sh
|
sudo snap remove firefox && rm -r $HOME/snap/firefox
|
||||||
|
|
||||||
|
# Install Spotify
|
||||||
|
bash installSpotify.sh
|
||||||
|
|
||||||
|
# Install Syncthing
|
||||||
|
bash installSyncthing.sh
|
||||||
|
|
||||||
|
# Install Discord
|
||||||
|
wget -q --show-progress "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb && sudo apt install ./discord.deb -y && rm discord.deb
|
||||||
|
|
||||||
|
# Install Obsidian
|
||||||
|
bash installObsidian.sh
|
||||||
|
|
||||||
|
# Install Flameshot
|
||||||
|
sudo apt update && sudo apt install flameshot -y
|
||||||
|
|
||||||
|
# Install Parsec
|
||||||
|
bash installParsec.sh
|
||||||
|
|
||||||
|
# Install Java
|
||||||
|
bash installJava.sh
|
||||||
|
|
||||||
|
# Install OnlyOffice
|
||||||
|
bash installOnlyoffice.sh
|
||||||
|
|
||||||
|
# Install EmojiPicker and its keyboard shortcut
|
||||||
|
bash installEmojiPicker.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Supprime le repo
|
||||||
|
cd ..
|
||||||
|
rm -rf myLinuxConfiguration
|
||||||
|
else
|
||||||
|
echo "Your distribution isn't supported."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Supprime le repo
|
|
||||||
cd ..
|
|
||||||
rm -rf myLinuxConfiguration
|
|
||||||
|
|
Reference in a new issue