Merge Ubuntu and WSL scripts

This commit is contained in:
Mylloon 2021-11-12 13:42:38 +01:00
parent 43e6492240
commit ec6310ec82
3 changed files with 53 additions and 64 deletions

View file

@ -1,47 +0,0 @@
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
cd myLinuxConfiguration
# Install Brave
bash installBrave.sh
# Uninstall Firefox
sudo snap remove firefox && rm -r $HOME/snap/firefox
# Install Fish
bash installFish.sh
# Install Spotify
bash installSpotify.sh
# Install Syncthing
bash installSyncthing.sh
# Install gl4D
bash installgl4D.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 Latex
sudo apt update && sudo apt install texlive-full -y
# Install Java
bash installJava.sh
# Install OnlyOffice
bash installOnlyoffice.sh
# Install EmojiPicker and its keyboard shortcut
bash installEmojiPicker.sh
# Supprime le repo
cd ..
rm -rf myLinuxConfiguration

17
WSL.sh
View file

@ -1,17 +0,0 @@
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
# Supprime le repo
cd ..
rm -rf myLinuxConfiguration

53
installGlobalScript.sh Normal file
View file

@ -0,0 +1,53 @@
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
# Install Brave
bash installBrave.sh
# Uninstall Firefox
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