From d5b82501333659e810cee941612dd50ab6c217b9 Mon Sep 17 00:00:00 2001 From: nub31 Date: Sat, 10 May 2025 15:50:06 +0200 Subject: [PATCH] ... --- setup.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index abae13c..c3a2d3d 100644 --- a/setup.sh +++ b/setup.sh @@ -1,9 +1,13 @@ #!/bin/bash -curl -sS https://starship.rs/install.sh | sh +set -e -sudo pacman -Syu --noconfirm -sudo pacman -S --noconfirm \ +if ! command -v yay 2>&1 >/dev/null +then + curl -sS https://starship.rs/install.sh | sh +fi + +sudo pacman -Syu --noconfirm \ code \ alacritty \ thunar \ @@ -32,8 +36,7 @@ then rm -rf yay-bin fi -yay -Syu --noconfirm -yay -S --noconfirm \ +yay -Syu --noconfirm \ hyprpaper-git \ hyprpicker-git \ hypridle-git \