Skip to content

Commit

Permalink
Allow use of paru in addition to yay as aur helper (#7652)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eldyl authored Oct 13, 2024
1 parent 1e6346f commit da7a394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/twenty-postgres/linux/provision-postgres-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da7a394

Please sign in to comment.