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

Check if universal repository is enabled or not.

parent dc0fc1f4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -10,7 +10,7 @@ shopt -s extglob
sudo -v >/dev/null 2>&1 || { echo $(whoami) has no sudo privileges ; exit 1; }
# Check if universal repository is enabled
grep -i universe /etc/apt/sources.list >> /dev/null || echo "Please enable universe repository" && exit 1
grep -i universe /etc/apt/sources.list > /dev/null || { echo "Please enable universe repository" ; exit 1 ; }
# Check if wget is installed
test wget || echo "Installing wget.." && sudo apt-get install wget && echo "Installed wget.."
......
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