Skip to content

Commit da7a394

Browse files
authored
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.
1 parent 1e6346f commit da7a394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/twenty-postgres/linux/provision-postgres-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ elif [ "$PACKAGE_MANAGER" = "pacman" ]; then
9898
sudo pacman -S postgresql postgresql-libs curl --noconfirm || handle_error "Failed to install PostgreSQL or curl."
9999

100100
echo_header $GREEN "Step [2/4]: Installing GraphQL for PostgreSQL on Arch..."
101-
if ! yay -S --noconfirm pg_graphql; then
101+
if ! yay -S --noconfirm pg_graphql && ! paru -S --noconfirm pg_graphql; then
102102
handle_error "Failed to install pg_graphql package from AUR."
103103
fi
104104

0 commit comments

Comments
 (0)