diff --git a/update.sh b/update.sh index bbe93b6..417e6bd 100644 --- a/update.sh +++ b/update.sh @@ -11,6 +11,8 @@ red='\033[0;31m' reset='\033[0m' # Update and log +echo "Mise à jour des paquets..." +apt update > /dev/null 2>&1 update=$(apt --just-print upgrade 2>/dev/null | grep 'Inst' | wc -l) if [ "$update" -ne 0 ]; then if [ "$update" -lt 2 ]; then