Mise à jour de 'install.sh'

This commit is contained in:
wilou 2023-03-17 16:33:32 +00:00
parent 972a82945e
commit 847b022072

View File

@ -82,12 +82,12 @@ nala install /tmp/packages/*deb -y
rm -r /tmp/packages/
# PVE VDI Client
#nala install python3-pip python3-proxmoxer python3-tk virt-viewer git -y
#git clone https://github.com/joshpatten/PVE-VDIClient.git
#cd ./PVE-VDIClient/
#pip3 install PySimpleGUI --break-system-packages
#cp vdiclient.py /usr/local/bin
#chmod +x /usr/local/bin/vdiclient.py
nala install python3-pip python3-proxmoxer python3-tk virt-viewer git -y
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
pip3 install PySimpleGUI --break-system-packages
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py
# 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
@ -102,11 +102,14 @@ mkdir -p /home/$username/.config/autostart
cp $builddir/autostart/crowtranslate.desktop /home/$username/.config/autostart/crowtranslate.desktop
chown -R $username:$username /home/$username/.config/autostart/
#Restauration des fichiers de configuration des applications
cp $builddir/variety/variety.conf /home/$username/.config/variety/variety.conf
# Configuration du profil dconf de l'utilisateur pour synchroniser les paramètres via un fichier texte
mkdir -p /etc/dconf/profile
cp $builddir/dconf/user /etc/dconf/profile/user
rm /home/$username/.config/dconf/user
#cp user.txt /home/$username/.config/dconf/user.txt
cp $builddir/dconf/user.txt /home/$username/.config/dconf/user.txt
# Désinstallation des paquets non désirés
nala remove fortunes-min -y