From da7a394e0cf206131202c9fc0f0ff437316cc207 Mon Sep 17 00:00:00 2001 From: Dylan Ullrich Date: Sun, 13 Oct 2024 10:15:43 -0700 Subject: [PATCH] Allow use of `paru` in addition to `yay` as aur helper (#7652) Hello Twenty Team, If this is not an appropriate PR, please feel to close it. I am hoping to make larger contributions down the road. I was getting twenty setup locally, and I had a problem with the install script. I noticed that `yay` was named as an AUR helper, but `paru` was not. I use [paru](https://github.com/Morganamilo/paru), and this caused the setup script to fail. I made a small change in the if statement that checks if `pg-graphql` can be installed with `yay`. I included a check for `paru` on the same line. Thanks everyone who has made this project what it is. --- packages/twenty-postgres/linux/provision-postgres-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-postgres/linux/provision-postgres-linux.sh b/packages/twenty-postgres/linux/provision-postgres-linux.sh index 73522b9ffeb3..84f047a72a82 100755 --- a/packages/twenty-postgres/linux/provision-postgres-linux.sh +++ b/packages/twenty-postgres/linux/provision-postgres-linux.sh @@ -98,7 +98,7 @@ elif [ "$PACKAGE_MANAGER" = "pacman" ]; then sudo pacman -S postgresql postgresql-libs curl --noconfirm || handle_error "Failed to install PostgreSQL or curl." echo_header $GREEN "Step [2/4]: Installing GraphQL for PostgreSQL on Arch..." - if ! yay -S --noconfirm pg_graphql; then + if ! yay -S --noconfirm pg_graphql && ! paru -S --noconfirm pg_graphql; then handle_error "Failed to install pg_graphql package from AUR." fi