add sudo to git install
This commit is contained in:
parent
2a8376fd5e
commit
d66118bf76
@ -11,7 +11,7 @@ export git=$(which git)
|
||||
if [ -z $git ]
|
||||
then
|
||||
eco installing git...
|
||||
apt install git
|
||||
sudo apt install git
|
||||
else
|
||||
echo git is already installed
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user