kit/other_scripts/favourites.sh

20 lines
413 B
Bash
Executable File

#!/bin/bash
# Exit on error.
# Because I've been grilled about not using this - phillw, I'm looking
# at you ;) - No, you'll never escape this lmao.
set -e
LIST='rsync nano htop net-tools vnstat screen git curl coreutils chrony
command-not-found'
[[ ! "${1:-}" == "1" ]] && \
printf 'Install "%s?" - press ctrl+c to cancel\n' "$LIST" && read
apt update
for pkg in $LIST
do
apt install -y "$pkg"
done