Package Details: yabridgectl 3.5.1-1

Git Clone URL: https://aur.archlinux.org/yabridgectl.git (read-only, click to copy)
Package Base: yabridgectl
Description: Optional utility to help set up and manage yabridge
Upstream URL: https://github.com/robbert-vdh/yabridge
Licenses: GPL3
Conflicts: yabridge-bin, yabridgectl-git
Provides: yabridgectl
Submitter: robbert-vdh
Maintainer: robbert-vdh
Last Packager: robbert-vdh
Votes: 5
Popularity: 0.97
First Submitted: 2020-11-20 11:40
Last Updated: 2021-07-31 19:31

Latest Comments

robbert-vdh commented on 2021-06-05 13:24

@madskjeldgaard That's sadly not possible (or desirable) for a number of reasons. That would mean that updating this package would:

a. Figure out which user is running sudo pacman. b. Run sudo -Hu "$user_that_invoked_pacman" yabridgectl sync.

While you'd probably always want to rerun yabridgectl sync after updating yabridge, there's no precedent for a package that runs a command as a regular user (or specifically, the user updating yabridge) after updating that package, and that sounds like a bad idea to do by default. It would be possible to set up a pacman hook to do that yourself though, since you can do whatever you want on your system. Maybe I should publish such a hook somewhere.

madskjeldgaard commented on 2021-06-05 13:18

Hi Robbert Thanks for this awesome program and package. I was wondering if it would be a nice idea to have a post update hook to run yabridgectl sync, since that seems to be needed after each update anyway? Just a suggestion. Thanks!