This commit is contained in:
julien
2025-09-23 19:27:33 +02:00
parent ba023e9f59
commit f3cdbcdc8c
13 changed files with 178 additions and 67 deletions

View File

@@ -1,15 +1,44 @@
#!/bin/bash
#######################
### Install packages
echo
echo " => Packages"
echo
pkglist="git
htop
tree
rsync"
base="git
htop
tree
rsync"
apt-get install $pkglist -y
server=""
desktop="adwaita-qt
adwaita-qt6
qt5ct
qt6ct
xfce4
firefox-esr
firefox-esr-l10n-fr
libreoffice
libreoffice-l10n-fr
thunderbird
thunderbird-l10n-fr
vlc"
if [ $profile = server ]; then
pkglist="$base
$server"
fi
if [ $profile = desktop ]; then
pkglist="$base
$server
$desktop"
fi
for i in $pkglist
do
dpkg -l $i > /dev/null 2>&1
if [ $? -ne 0 ]; then
apt-get install $i -y
fi
done