This commit is contained in:
Marcus 2023-06-12 21:28:56 +02:00
parent bbc7f00a12
commit 5d698ad774
2 changed files with 19 additions and 6 deletions

View file

@ -20,7 +20,7 @@ thunderbird thunderbird-l10n-de"
# install admin and dev tools
packages[admin]="htop iotop sysstat lm-sensors git mc vim btop btrfs-progs
curl wget debootstrap geany 'geany-plugin*' lnav mtr-tiny ncdu nmap ppp
curl wget debootstrap geany geany-plugins lnav mtr-tiny ncdu nmap ppp
pandoc pwgen remmina rsync screen socat stress strace tcpdump ufw"
# install nice programs

View file

@ -62,17 +62,30 @@ fi
message "Continue with installation..."
# iterate through $packages
for i in $package_categories
for categorie in $package_categories
do
message "Packages category: ${YELLOW}${i}${ENDCOLOR}"
message "Packages contained: "
message "${GREEN}${packages[$i]}${ENDCOLOR}"
# in case of a specific category, do special things
case $i in
# pre installation steps for categories
case $categorie in
base)
if ! grep "contrib" /etc/apt/sources.list && grep "non-free" /etc/apt/sources.list
then
message error "please activate 'contrib' and 'non-free' in your sources.ist"
;;
nice)
message warn "sudo dpkg --add-architecture i386"
message warn "sudo apt update"
sudo dpkg --add-architecture i386
sudo apt update
;;
esac
# post installation steps for categories
case $categorie in
base)
;;
esac
done