Mise à jour de 'install.sh'
This commit is contained in:
parent
8711d8611d
commit
44760a9b5b
25
install.sh
25
install.sh
@ -68,12 +68,6 @@ nala install curl flatpak figlet htop libnotify-bin nmap speedtest-cli stress s-
|
||||
# Désinstallation des paquets non désirés
|
||||
nala remove fortunes-min -y
|
||||
|
||||
# Installation des thèmes wibian-light et wibian-dark
|
||||
nala install greybird-gtk-theme papirus-icon-theme -y
|
||||
mkdir -p /home/$username/.themes
|
||||
unzip themes.zip -d /home/$username/.themes/
|
||||
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/wibian/
|
||||
nala install /tmp/wibian/webapp-manager_*.deb -y
|
||||
@ -90,6 +84,12 @@ chmod +x /usr/local/bin/vdiclient.py
|
||||
wget "https://github.com/pavlobu/deskreen/releases/download/v2.0.4/deskreen_2.0.4_amd64.deb" -P /tmp/wibian/
|
||||
nala install /tmp/wibian/deskreen_*.deb -y
|
||||
|
||||
# Installation des thèmes wibian-light et wibian-dark
|
||||
nala install greybird-gtk-theme papirus-icon-theme -y
|
||||
mkdir -p /home/$username/.themes
|
||||
unzip $builddir/themes.zip -d /home/$username/.themes/
|
||||
chown -R $username:$username /home/$username/.themes/
|
||||
|
||||
# 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
|
||||
@ -138,6 +138,19 @@ cp $builddir/autostart/* /home/$username/.config/autostart/
|
||||
chown -R $username:$username /home/$username/.config/autostart/
|
||||
|
||||
# Mise à jour du répertoire /home pour les nouveaux utilisateurs via /etc/skel (Skeleton)
|
||||
unzip $builddir/themes.zip -d /etc/skel/.themes/
|
||||
mkdir -p /etc/skel/.runonce
|
||||
cp $builddir/runonce/flatpak.sh /etc/skel/.runonce/
|
||||
mkdir -p /etc/skel/.config/mate/panel2.d/default/launchers
|
||||
cp $builddir/launchers/* /etc/skel/.config/mate/panel2.d/default/launchers/
|
||||
mkdir -p /etc/skel/.config/dconf
|
||||
cp $builddir/dconf/user.txt /etc/skel/.config/dconf/user.txt
|
||||
mkdir -p /etc/skel/.config/variety
|
||||
cp $builddir/variety/* /etc/skel/.config/variety/
|
||||
mkdir -p /etc/skel/.shutter/profiles
|
||||
cp $builddir/shutter/* /etc/skel/.shutter/profiles/
|
||||
mkdir -p /etc/skel/.config/autostart
|
||||
cp $builddir/autostart/* /etc/skel/.config/autostart/
|
||||
|
||||
# Suppression des sources d'installation du script
|
||||
rm -r $builddir
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user