diff --git a/migrations/1751135253.sh b/migrations/1751135253.sh index b830627..aa0e3ea 100644 --- a/migrations/1751135253.sh +++ b/migrations/1751135253.sh @@ -1,3 +1,5 @@ -# Add missing installation of bat -echo "Add missing installation of bat (used by the ff alias)" -yay -S --noconfirm --needed bat +if ! command -v bat &>/dev/null; then + # Add missing installation of bat + echo "Add missing installation of bat (used by the ff alias)" + yay -S --noconfirm --needed bat +fi