From 2c994c32e4fbfe84279054e8f3ca22aa95469a06 Mon Sep 17 00:00:00 2001 From: ION606 Date: Fri, 21 Jun 2024 15:29:20 +0000 Subject: [PATCH] added confirmation for installer --- setup.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/setup.sh b/setup.sh index 906470a..f3f1b07 100644 --- a/setup.sh +++ b/setup.sh @@ -6,6 +6,42 @@ if [ "$EUID" -ne 0 ] exit fi +# Explain what the script will do and ask for confirmation +echo "This script will install and do the following: +- Configuration files from https://github.com/ION606/swaybackup.git +- Librewolf browser +- Visual Studio Code +- Various fonts +- The latest version of Java +- Proton VPN +- Alacritty terminal +- Nautilus file manager +- Node.js +- Git and GitHub CLI +- Neovim +- Gparted +- VLC media player +- GCC and G++ +- Asciiquarium +- Thunderbird +- Grim and Slurp (screenshot tools) +- Xclip +- Qbittorrent +- Gimp +- Audacity +- Python3-pip +- NPM packages (Bitwarden CLI, Alacritty themes, Typescript) +- Vesktop +- Remove Thunar and Foot +- Clean up and update system + +Do you want to proceed? (Y/N): " +read answer +if [ "$answer" != "Y" ]; then + echo "Installation aborted." + exit +fi + # Make temporary directory mkdir ~/Downloads/tempinstall || "" cd ~/Downloads/tempinstall