Install git if not already installed
This commit is contained in:
parent
9a2a5a21de
commit
96f1e3bdd1
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue