diff --git a/installGlobalScript.sh b/installGlobalScript.sh index 6598327..7a5f0d3 100644 --- a/installGlobalScript.sh +++ b/installGlobalScript.sh @@ -1,10 +1,13 @@ if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null; then - git clone -c http.sslverify=false https://git.kennel.ml/Anri/myLinuxConfiguration.git - cd myLinuxConfiguration # Update of APT sudo apt update + which git &> /dev/null || sudo apt install git -y # Install git if not already installed + + git clone -c http.sslverify=false https://git.kennel.ml/Anri/myLinuxConfiguration.git + cd myLinuxConfiguration + # Upgrade and clean already installed packages sudo apt upgrade -y sudo apt autoremove -y