Mise à jour de 'install.sh'

This commit is contained in:
wilou 2023-03-30 12:18:00 +00:00
parent d5f34d0b9c
commit d085440ca3

View File

@ -60,7 +60,7 @@ 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
# Installation des paquets
nala install caja-share caja-nextcloud celluloid cheese clementine gparted hugin jami kazam lightdm-settings mate-desktop-environment-extras metadata-cleaner numlockx peek pinta printer-driver-all qshutdown redshift-gtk shutter stacer system-config-printer sweethome3d tilix tlp smtube variety xscreensaver-gl -y
nala install caja-share caja-nextcloud celluloid cheese clementine gparted hugin jami kazam lightdm-settings mate-desktop-environment-extras metadata-cleaner numlockx peek pinta printer-driver-all qshutdown redshift-gtk shutter stacer system-config-printer tilix tlp smtube variety xscreensaver-gl -y
# Installation des paquets utilitaires
nala install curl flatpak figlet htop libnotify-bin nmap speedtest-cli stress s-tui swaks testdisk tldr vim wmctrl xdotool -y
@ -77,7 +77,6 @@ chown -R $username:$username /home/$username/.themes/
# Logiciel hors dépôts : Applications Web
wget "http://packages.linuxmint.com/pool/main/w/webapp-manager/webapp-manager_1.2.8_all.deb" -P /tmp/packages/
nala install /tmp/packages/*deb -y
rm -r /tmp/packages/
# Logiciel hors dépôts : PVE VDI Client
nala install python3-pip python3-proxmoxer python3-tk virt-viewer git -y
@ -87,6 +86,13 @@ pip3 install PySimpleGUI --break-system-packages
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py
# Logiciel hors dépots : DroidCamX
nala install linux-headers-`uname -r` gcc make -y
cd /tmp/packages/
wget -O droidcam_latest.zip https://files.dev47apps.net/linux/droidcam_1.8.2.zip
unzip droidcam_latest.zip -d droidcam
cd droidcam && ./install-client && ./install-video
# Envoi du message de notification
notify-send -i $builddir/icones/sympatech_logo_bleu.png "Information" "Le script d'installation touche bientôt à sa fin" -t 0
notify-send -i $builddir/icones/sympatech_logo_rouge.png "Attention" "Redémarrage imminent après l'installation des paquets flatpak" -t 0
@ -127,8 +133,9 @@ mkdir -p /home/$username/.config/autostart
cp $builddir/autostart/* /home/$username/.config/autostart/
chown -R $username:$username /home/$username/.config/autostart/
# Suppression des sources d'installation du répértoire utilisateur
# Suppression des sources d'installation du script
rm -r $builddir
rm -r /tmp/packages/
# Message de fin
echo "Bisous" | figlet -f big