Skip to content
Extraits de code Groupes Projets
Valider d66eedaf rédigé par hemanth's avatar hemanth Validation de Raphael Sofaer
Parcourir les fichiers

Fixed a major issue with sudo user check\!

parent 8323e7dc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
shopt -s extglob shopt -s extglob
# Check if the user has sudo privileges. # Check if the user has sudo privileges.
[[ $( id -u) ]] && echo "$(whoami) has no sudo permissions on this machine" && exit 1 sudo -v >/dev/null 2>&1 || { echo $(whoami) has no sudo privileges ; exit 1; }
# Install build tools # Install build tools
echo "Installing build tools.." echo "Installing build tools.."
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter