changes
This commit is contained in:
parent
bbc7f00a12
commit
5d698ad774
2 changed files with 19 additions and 6 deletions
|
@ -20,7 +20,7 @@ thunderbird thunderbird-l10n-de"
|
||||||
|
|
||||||
# install admin and dev tools
|
# install admin and dev tools
|
||||||
packages[admin]="htop iotop sysstat lm-sensors git mc vim btop btrfs-progs
|
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"
|
pandoc pwgen remmina rsync screen socat stress strace tcpdump ufw"
|
||||||
|
|
||||||
# install nice programs
|
# install nice programs
|
||||||
|
|
23
setup.sh
23
setup.sh
|
@ -62,17 +62,30 @@ fi
|
||||||
message "Continue with installation..."
|
message "Continue with installation..."
|
||||||
|
|
||||||
# iterate through $packages
|
# iterate through $packages
|
||||||
for i in $package_categories
|
for categorie in $package_categories
|
||||||
do
|
do
|
||||||
message "Packages category: ${YELLOW}${i}${ENDCOLOR}"
|
message "Packages category: ${YELLOW}${i}${ENDCOLOR}"
|
||||||
message "Packages contained: "
|
message "Packages contained: "
|
||||||
message "${GREEN}${packages[$i]}${ENDCOLOR}"
|
message "${GREEN}${packages[$i]}${ENDCOLOR}"
|
||||||
|
|
||||||
# in case of a specific category, do special things
|
# pre installation steps for categories
|
||||||
case $i in
|
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)
|
nice)
|
||||||
message warn "sudo dpkg --add-architecture i386"
|
sudo dpkg --add-architecture i386
|
||||||
message warn "sudo apt update"
|
sudo apt update
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# post installation steps for categories
|
||||||
|
case $categorie in
|
||||||
|
base)
|
||||||
|
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue