From 2add2f104ecc68c9f76698d39bcbd2f0fba0a892 Mon Sep 17 00:00:00 2001 From: wilou Date: Thu, 10 Oct 2024 15:05:07 +0000 Subject: [PATCH] Actualiser install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index a2f6ffc..b5f4fc5 100644 --- a/install.sh +++ b/install.sh @@ -34,10 +34,10 @@ wget -qO- --no-check-certificate https://raw.githubusercontent.com/StevenBlack/h echo 'APT::Install-Recommends "0";' | tee /etc/apt/apt.conf.d/00norecommends > /dev/null echo 'APT::Install-Suggests "0";' | tee -a /etc/apt/apt.conf.d/00norecommends > /dev/null -# 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 -#mv /etc/fstab.tmp /etc/fstab +# noatime pour les partitions ext4 (bloc à commenter si btrfs) +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 +mv /etc/fstab.tmp /etc/fstab # Mise à jour de la liste des paquets disponibles et mise à jour des paquets installés apt update