From: Lucie Scarlet Date: Sat, 17 Aug 2024 16:08:12 +0000 (+0200) Subject: Added `set -euxo pipefail` and combined the pacman commands X-Git-Url: https://git.chaotic.ninja/gitweb/lucie/?a=commitdiff_plain;h=a004a35dba7fbdc22b137e2dd0dba749e36ec96b;p=dotfiles.git Added `set -euxo pipefail` and combined the pacman commands Since you can install using `pacman -Syu` it doesn't make sense to run that first, then running `pacman -S` afterwards. Also, it didn't do `--noconfirm` so if there were something to update, it would fail the install. --- diff --git a/i3/install.sh b/i3/install.sh index 7deacb0..bd14c6b 100755 --- a/i3/install.sh +++ b/i3/install.sh @@ -27,6 +27,7 @@ echo "Installing Nitrogen and Variety" if [[ -x /bin/apt ]]; then sudo -s <