Actualiser install.sh
This commit is contained in:
parent
900043cbca
commit
2add2f104e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user