From f0a0cdc58bc25bd389ddec684c7c094bddb7bdeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= <orhunparmaksiz@gmail.com>
Date: Thu, 28 Sep 2023 12:22:06 +0200
Subject: [PATCH] feat(installer): try installing via paru for the AUR (#1262)

---
 install.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 07c1694..db63d6c 100755
--- a/install.sh
+++ b/install.sh
@@ -44,7 +44,10 @@ __atuin_install_arch(){
 		sudo pacman -S atuin
 	else
 		echo "Attempting AUR install"
-		if command -v yaourt &> /dev/null; then
+		if command -v paru &> /dev/null; then
+			echo "Found paru"
+			paru -S atuin
+		elif command -v yaourt &> /dev/null; then
 			echo "Found yaourt"
 			yaourt -S atuin
 		elif command -v yay &> /dev/null; then