Actualiser install.sh

This commit is contained in:
wilou 2024-04-19 13:09:24 +00:00
parent 83403fbf2b
commit ac0150701f

View File

@ -24,10 +24,10 @@ clear
hostnamectl set-hostname $machinename
sed -i '1i 127.0.0.1\t'$machinename /etc/hosts
# noatime
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
#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
@ -111,6 +111,7 @@ packages=(
shutter
stacer
tilix
timeshift
variety
synaptic
xscreensaver-gl