Actualiser install.sh

This commit is contained in:
wilou 2024-03-01 15:25:33 +00:00
parent 188c934847
commit 181680b250

View File

@ -29,7 +29,7 @@ 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 awk '!/^#/ && ($3 != "swap") && ($2 != "/media/cdrom0") { if(!match(/noatime/, $4)) $4=$4",noatime" } 1' /etc/fstab > /etc/fstab.tmp
mv /etc/fstab.tmp /etc/fstab mv /etc/fstab.tmp /etc/fstab
# Add the following entries to the /etc/apt/apt.conf configuration file: # Désactivation de l'installation automatique des paquets recommandés
cat > /etc/apt/apt.conf.d/00pas-de-recommends <<EOF cat > /etc/apt/apt.conf.d/00pas-de-recommends <<EOF
APT::Install-Recommends "0"; APT::Install-Recommends "0";