now DEBIAN better compatible / install sudo /

This commit is contained in:
fred 2023-04-22 00:25:31 +02:00
parent c6cc502203
commit e372c80769
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ start=`date +%s`
################################################################## SUDO
########################################################################
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. " && exit 1
[[ ! $(groups | grep -w sudo) ]] && echo "AUCUN GROUPE \"sudo\" : su -; usermod -aG sudo $USER" && exit 1
[[ ! $(groups | grep -w sudo) ]] \
&& echo "AUCUN GROUPE \"sudo\" : su -; usermod -aG sudo $USER" \
&& su - && apt-get install sudo -y \
&& echo "Run Install Again..." && exit 0
################################################################### IPFS
########################################################################
[[ ! $(which ipfs) ]] \