Files
debian/modules/pkgs.sh
2025-10-24 13:04:12 +02:00

47 lines
691 B
Bash
Executable File

#!/bin/bash
echo
echo " => Packages"
echo
base="ca-certificates
curl
git
htop
tree
rsync"
server=""
desktop="kde-plasma-desktop
papirus-icon-theme
ark
kcalc
gwenview
okular
firefox-esr
firefox-esr-l10n-$lang
gimp
libreoffice
libreoffice-l10n-$lang
libreoffice-plasma
vlc"
if [ $profile = server ]; then
pkglist="$base
$server"
fi
if [ $profile = desktop ]; then
pkglist="$base
$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