Actualiser install.sh

This commit is contained in:
wilou 2024-02-28 13:42:43 +00:00
parent 3573e0610f
commit 8de8c539d8

View File

@ -29,6 +29,10 @@ 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
# Modification pour la branche unstable alias "Sid"
cp /etc/apt/sources.list /etc/apt/sources.list.bck
cp sources.list /etc/apt/sources.list
# Update packages list and update system # Update packages list and update system
apt update apt update
apt upgrade -y apt upgrade -y