From c5d43bee4e71f382ed1365b5fa753980ac607765 Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Tue, 3 Sep 2024 20:11:26 +0200 Subject: [PATCH] Changed the default values to n --- .config/yadm/bootstrap | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 105e790..133e263 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -2,7 +2,7 @@ ############# Packages to install ######################################## -macos_homebrew_essentials="python3 vim-nox tmux nano zsh git autossh mosh sshuttle lynx npm tidy mcfly ack ncdu shfmt" +macos_homebrew_essentials="python3 vim-nox tmux nano zsh git autossh mosh sshuttle lynx npm tidy mcfly ack ncdu shfmt up htop" macos_homebrew_other_apps="calibre" raspberrypi_essentials="python3 python3-pip vim-nox python3-venv tmux nano zsh git htop ncdu autossh mosh sshuttle fail2ban avahi-daemon ufw lynx npm ssmtp apticron tidy nmon software-properties-common ack restic unrar cmake" raspberrypi_printer="cups printer-driver-gutenprint" @@ -43,23 +43,23 @@ fi if [ "$system_type" = "Linux" ]; then install_this_now="" - echo "Install the most important packages ($raspberrypi_essentials)? (y/n, default=y)" + echo "Install the most important packages ($raspberrypi_essentials)? (y/n, default=n)" read -r install_raspberrypi_essentials - install_raspberrypi_essentials=${install_raspberrypi_essentials:-y} + install_raspberrypi_essentials=${install_raspberrypi_essentials:-n} if echo "$install_raspberrypi_essentials" | grep -qi '^[yj]$'; then install_this_now="$install_this_now $raspberrypi_essentials" fi - echo "Install the packages for printing? (y/n, default=y)" + echo "Install the packages for printing? (y/n, default=n)" read -r install_raspberrypi_printer - install_raspberrypi_printer=${install_raspberrypi_printer:-y} + install_raspberrypi_printer=${install_raspberrypi_printer:-n} if echo "$install_raspberrypi_printer" | grep -qi '^[yj]$'; then install_this_now="$install_this_now $raspberrypi_printer" fi - echo "Install the packages for the camera? (y/n, default=y)" + echo "Install the packages for the camera? (y/n, default=n)" read -r install_raspberrypi_camera - install_raspberrypi_camera=${install_raspberrypi_camera:-y} + install_raspberrypi_camera=${install_raspberrypi_camera:-n} if echo "$install_raspberrypi_camera" | grep -qi '^[yj]$'; then install_this_now="$install_this_now $raspberrypi_camera" fi @@ -74,9 +74,9 @@ if [ "$system_type" = "Linux" ]; then fi if command -v ufw >/dev/null 2>&1; then - echo "Enable the firewall (ufw with ssh allowed)? (y/n, default=y)" + echo "Enable the firewall (ufw with ssh allowed)? (y/n, default=n)" read -r enable_ufw - enable_ufw=${enable_ufw:-y} + enable_ufw=${enable_ufw:-n} if echo "$enable_ufw" | grep -qi '^[yj]$'; then ufw allow ssh ufw enable @@ -86,25 +86,25 @@ fi ############# Commands for both ########################################## if command -v /bin/zsh >/dev/null 2>&1; then - echo "Set zsh as default shell? (y/n, default=y)" + echo "Set zsh as default shell? (y/n, default=n)" read -r set_default_shell - set_default_shell=${set_default_shell:-y} + set_default_shell=${set_default_shell:-n} if echo "$set_default_shell" | grep -qi '^[yj]$'; then chsh -s /bin/zsh fi fi -echo "Install all linters for vim? (y/n, default=y)" +echo "Install all linters for vim? (y/n, default=n)" read -r install_linters -install_linters=${install_linters:-y} +install_linters=${install_linters:-n} if echo "$install_linters" | grep -qi '^[yj]$'; then install_npm_linters install_python_linters fi -echo "Install the vim plugins now? (y/n, default=y)" +echo "Install the vim plugins now? (y/n, default=n)" read -r install_vim_plugins -install_vim_plugins=${install_vim_plugins:-y} +install_vim_plugins=${install_vim_plugins:-n} if echo "$install_vim_plugins" | grep -qi '^[yj]$'; then vim +'PlugInstall --sync' +qa echo "Done!"