Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Vérification que le script est lancé en root
- if [ $EUID -ne 0 ]; then
- echo "Le script doit être lancé en root: # sudo $0" 1>&2
- exit 1
- fi
- # Mise à jour des listes
- apt-get update
- apt-get dist-upgrade
- apt-get autoremove --purge
- apt-get clean
Advertisement
Add Comment
Please, Sign In to add comment