Files
debian/modules/pkgs.sh
2025-10-03 17:51:10 +02:00

49 lines
717 B
Bash
Executable File

#!/bin/bash
echo
echo " => Packages"
echo
base="curl
git
htop
tree
rsync"
server=""
desktop="gnome-core
gnome-console
geary
gnome-tweaks
adwaita-qt
adwaita-qt6
papirus-icon-theme
qt5ct
qt6ct
firefox-esr
firefox-esr-l10n-fr
gimp
libreoffice
libreoffice-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 -s $i > /dev/null 2>&1
if [ $? -ne 0 ]; then
apt-get install $i -y
fi
done