Actualiser install.sh
This commit is contained in:
parent
a42b23f3ac
commit
936b65ef46
31
install.sh
31
install.sh
@ -113,6 +113,9 @@ xscreensaver-gl
|
||||
# Installation des paquets utilitaires
|
||||
nala install -y curl flatpak freerdp2-x11 figlet htop libnotify-bin nmap net-tools numlockx speedtest-cli stress s-tui swaks testdisk tldr tlp whois wmctrl xdotool
|
||||
|
||||
# Installation des thèmes wibian-light et wibian-dark
|
||||
nala install -y greybird-gtk-theme papirus-icon-theme
|
||||
|
||||
# Installation des logiciels en fonction du profil d'utilisation (décommenter selon le besoin)
|
||||
# nala install -y blender
|
||||
nala install -y cheese
|
||||
@ -172,11 +175,6 @@ unzip droidcam_*.zip -d droidcam
|
||||
cd droidcam && ./install-client && ./install-video
|
||||
cd $builddir
|
||||
|
||||
# Installation des thèmes wibian-light et wibian-dark
|
||||
nala install -y greybird-gtk-theme papirus-icon-theme
|
||||
mkdir -p /home/$username/.themes
|
||||
unzip $builddir/themes.zip -d /home/$username/.themes/
|
||||
|
||||
# Flatpak (reboot nécéssaire)
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install -y \
|
||||
@ -204,7 +202,7 @@ app.drey.Warp
|
||||
mkdir -p /etc/dconf/profile
|
||||
cp $builddir/dconf/user /etc/dconf/profile/user
|
||||
|
||||
## Mise à jour du répertoire /home de l'utilisateur principal sudo à l'origine de l'installation
|
||||
# Mise à jour du répertoire /home de l'utilisateur principal sudo à l'origine de l'installation
|
||||
mkdir -p /home/$username/.config/autostart
|
||||
cp $builddir/autostart/* /home/$username/.config/autostart/
|
||||
#cp $builddir/runonce/* /home/$username/.config/autostart/
|
||||
@ -214,6 +212,8 @@ mkdir -p /home/$username/.config/mate/panel2.d/default/launchers
|
||||
cp $builddir/launchers/* /home/$username/.config/mate/panel2.d/default/launchers/
|
||||
mkdir -p /home/$username/.config/variety
|
||||
cp $builddir/variety/* /home/$username/.config/variety/
|
||||
mkdir -p /home/$username/.themes
|
||||
unzip $builddir/themes.zip -d /home/$username/.themes/
|
||||
mkdir -p /home/$username/.shutter/profiles
|
||||
cp $builddir/shutter/* /home/$username/.shutter/profiles/
|
||||
|
||||
@ -223,17 +223,18 @@ chown -R $username:$username /home/$username/.themes/
|
||||
chown -R $username:$username /home/$username/.shutter/
|
||||
|
||||
# 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/.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/
|
||||
mkdir -p /etc/skel/.config/dconf
|
||||
cp $builddir/dconf/user.txt /etc/skel/.config/dconf/user.txt
|
||||
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/variety
|
||||
cp $builddir/variety/* /etc/skel/.config/variety/
|
||||
mkdir -p /etc/skel/.themes
|
||||
unzip $builddir/themes.zip -d /etc/skel/.themes/
|
||||
mkdir -p /etc/skel/.shutter/profiles
|
||||
cp $builddir/shutter/* /etc/skel/.shutter/profiles/
|
||||
|
||||
# Suppression des sources d'installation du script
|
||||
rm -r $builddir
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user