dotfiles/linux/install
2020-08-10 23:04:12 -04:00

31 lines
639 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source "$HOME/.dotfiles/script_helpers/printing.sh"
source "$HOME/.dotfiles/script_helpers/core.sh"
source "$HOME/.dotfiles/script_helpers/platform.sh"
source "$HOME/.dotfiles/script_helpers/file_ops.sh"
#-----------------------------------
# Apt packages
#-----------------------------------
printf "\n${BOLD}Installing apt packages...${NORMAL}\n\n"
apt_packages=(
'tree'
'powershell'
)
sudo apt update
for package in "${apt_packages[@]}"
do
printf "${BOLD}$package${NORMAL}\n"
eval "sudo apt install $package"
printf "\n"
done
printf "\n${BOLD}Finished setting up Linux${NORMAL}\n"