diff --git a/bin/omarchy-pkg-install b/bin/omarchy-pkg-install index 2be66506..36916467 100755 --- a/bin/omarchy-pkg-install +++ b/bin/omarchy-pkg-install @@ -16,9 +16,7 @@ pkg_names=$(pacman -Slq | fzf "${fzf_args[@]}") if [[ -n "$pkg_names" ]]; then # Convert newline-separated selections to space-separated for yay - if echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -S --noconfirm; then - sudo updatedb - fi - + echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -S --noconfirm + sudo updatedb omarchy-show-done fi diff --git a/bin/omarchy-pkg-remove b/bin/omarchy-pkg-remove index e4ad87a0..5408aa9b 100755 --- a/bin/omarchy-pkg-remove +++ b/bin/omarchy-pkg-remove @@ -16,9 +16,7 @@ pkg_names=$(yay -Qqe | fzf "${fzf_args[@]}") if [[ -n "$pkg_names" ]]; then # Convert newline-separated selections to space-separated for yay - if echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Rns --noconfirm; then - sudo updatedb - fi - + echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Rns --noconfirm + sudo updatedb omarchy-show-done fi