From 65c814c63d43e86884995d53762a45da9e75fb17 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 2 Jun 2025 10:29:11 +0200 Subject: [PATCH] Only install pacakages if they arent there already --- install/2-terminal.sh | 2 +- install/desktop.sh | 2 +- install/development.sh | 2 +- install/docker.sh | 2 +- install/fonts.sh | 2 +- install/hyprlandia.sh | 2 +- install/ssdm.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install/2-terminal.sh b/install/2-terminal.sh index f7e036f..3dbe7d2 100644 --- a/install/2-terminal.sh +++ b/install/2-terminal.sh @@ -1,4 +1,4 @@ -yay -S --noconfirm \ +yay -S --noconfirm --needed \ wget curl unzip \ eza fzf ripgrep zoxide \ wl-clipboard fastfetch \ diff --git a/install/desktop.sh b/install/desktop.sh index b2b3837..4064a08 100644 --- a/install/desktop.sh +++ b/install/desktop.sh @@ -1,4 +1,4 @@ -yay -S --noconfirm \ +yay -S --noconfirm --needed \ brightnessctl playerctl wpctl wireplumber \ signal-desktop nautilus \ spotify 1password dropbox-cli \ diff --git a/install/development.sh b/install/development.sh index 35b2153..b20e1b7 100644 --- a/install/development.sh +++ b/install/development.sh @@ -1,4 +1,4 @@ -yay -S --noconfirm \ +yay -S --noconfirm --needed \ nvim luarocks tree-sitter-cli \ mise github-cli \ lazygit lazydocker diff --git a/install/docker.sh b/install/docker.sh index e684961..90424c2 100644 --- a/install/docker.sh +++ b/install/docker.sh @@ -1,4 +1,4 @@ -yay -S --noconfirm docker +yay -S --noconfirm --needed docker # Give this user privileged Docker access # sudo usermod -aG docker ${USER} diff --git a/install/fonts.sh b/install/fonts.sh index d5b60b6..0df9a4a 100644 --- a/install/fonts.sh +++ b/install/fonts.sh @@ -1,4 +1,4 @@ -yay -Sy --noconfirm ttf-font-awesome +yay -Sy --noconfirm --needed ttf-font-awesome mkdir -p ~/.local/share/fonts diff --git a/install/hyprlandia.sh b/install/hyprlandia.sh index 452641e..954e649 100644 --- a/install/hyprlandia.sh +++ b/install/hyprlandia.sh @@ -1,4 +1,4 @@ -yay -S --noconfirm \ +yay -S --noconfirm --needed \ hyprland hyprpaper hyprshot hyprlock hypridle hyprpolkitagent hyprland-qtutils \ waybar swaync \ xdg-desktop-portal-hyprland diff --git a/install/ssdm.sh b/install/ssdm.sh index 8a13e9b..090793b 100644 --- a/install/ssdm.sh +++ b/install/ssdm.sh @@ -1,4 +1,4 @@ -sudo pacman -Sy --noconfirm \ +sudo pacman -Sy --noconfirm --needed \ sddm-kcm \ qt6-base qt6-svg qt6-virtualkeyboard qt6-multimedia