diff --git a/setup/1-choose-packages.sh b/setup/1-choose-packages.sh index 8630c1b..4b41e03 100755 --- a/setup/1-choose-packages.sh +++ b/setup/1-choose-packages.sh @@ -64,7 +64,7 @@ echo '' # ---------------------------------------------------------- -install_collection 'core utilities: (curl, python3, jq, htop, etc.)' curl fail2ban git htop jq grep gzip net-tools goaccess dnsutils bash-completion cron vim make chrony build-essential gcc inotify-tools python3 python-is-python3 screen bc +install_collection 'core utilities: (curl, python3, jq, htop, etc.)' curl git htop jq grep gzip net-tools goaccess dnsutils bash-completion cron vim make chrony build-essential gcc inotify-tools python3 python-is-python3 screen bc # ---------------------------------------------------------- @@ -205,6 +205,21 @@ echo '' # ---------------------------------------------------------- +if [[ -n $(command -v 'go') ]]; then + read -p 'Install GoLang package "xcaddy"? [y/N]: ' response + case "${response}" in + [Yy]* ) + go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest + ;; + * ) + echo 'Skipping' + ;; + esac + echo '' +fi + +# ---------------------------------------------------------- + if [ "${show_note}" = true ]; then echo -e "\e[33myou will need to logout and back in before the 'docker' group will show up" echo ''