if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null; then # Update Java fish -c "sdk update" fish -c "sdk upgrade" echo -e "\nJava updated! 🎉" if grep "Ubuntu" /proc/version > /dev/null; then # Update Obsidian wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installObsidian.sh -O tmp.sh && bash tmp.sh; rm tmp.sh # Update Parsec wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installParsec.sh -O tmp.sh && bash tmp.sh; rm tmp.sh fi else echo "Your distribution isn't supported." fi