diff --git a/install.sh b/install.sh index ef2fb90..3cdc407 100644 --- a/install.sh +++ b/install.sh @@ -30,6 +30,11 @@ echo "127.0.1.1 $(hostname)" >> /etc/hosts echo "" >> /etc/hosts wget -qO- --no-check-certificate https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >> /etc/hosts +# Désactivation de l'installation automatique des paquets recommandés +touch /etc/apt/apt.conf.d/00norecommends +echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/00norecommends +echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00norecommends + # noatime pour les partitions ext4 #cp /etc/fstab /etc/fstab.bck #awk '!/^#/ && ($3 != "swap") && ($2 != "/media/cdrom0") { if(!match(/noatime/, $4)) $4=$4",noatime" } 1' /etc/fstab > /etc/fstab.tmp