Add plocate support to garuda-update

I installed plocate which replaces mlocate
this makes garuda-update stop at the end as it tries to

# Update mlocate index in the background
if [ -x /usr/bin/locate ]; then
systemctl start updatedb.service --no-block
fi

i manually fixed it by

# Update mlocate index in the background
if [ -x /usr/bin/locate ]; then
systemctl start plocate-updatedb.service --no-block
fi

but that’s not really a solution, can it be added as a condition in the script to check which service to start?

Thanks (also probably my first post)

4 Likes

If you want, you can open an MR. Certainly a possibility to make this based on whatever locate binary is installed.

Welcome btw! :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.