Actualiser install.sh
This commit is contained in:
parent
65ccb1eed6
commit
fda8f541af
15
install.sh
15
install.sh
@ -25,14 +25,6 @@ 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
|
||||||
|
|
||||||
# Désinstallation complète de LibreOffice
|
|
||||||
apt remove --purge libreoffice* -y
|
|
||||||
apt autoremove -y
|
|
||||||
|
|
||||||
# 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
|
||||||
@ -48,6 +40,13 @@ cp 50unattended-upgrades /etc/apt/apt.conf.d/50unattended-upgrades
|
|||||||
cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/
|
cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/
|
||||||
sed -i 's/InhibitDelayMaxSec=30/InhibitDelayMaxSec=1800/g' /usr/lib/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf
|
sed -i 's/InhibitDelayMaxSec=30/InhibitDelayMaxSec=1800/g' /usr/lib/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf
|
||||||
|
|
||||||
|
# Installation de l'environnement de bureau complet MATE avec le serveur graphique Xorg
|
||||||
|
nala install task-mate-desktop -y
|
||||||
|
|
||||||
|
# Désinstallation complète de LibreOffice
|
||||||
|
apt remove --purge libreoffice* -y
|
||||||
|
apt autoremove -y
|
||||||
|
|
||||||
# Installation des paquets
|
# Installation des paquets
|
||||||
nala install caja-share caja-nextcloud celluloid cheese foliate gparted hugin jami kazam lightdm-settings mate-desktop-environment-extras metadata-cleaner numlockx peek printer-driver-all qshutdown redshift-gtk shutter stacer system-config-printer tilix tlp variety xscreensaver-gl -y
|
nala install caja-share caja-nextcloud celluloid cheese foliate gparted hugin jami kazam lightdm-settings mate-desktop-environment-extras metadata-cleaner numlockx peek printer-driver-all qshutdown redshift-gtk shutter stacer system-config-printer tilix tlp variety xscreensaver-gl -y
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user