-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add option for custom update command #523
Comments
Hi @codrcodz I think you could solve your issue better using pacman hooks. In order to implement custom pacman hooks:
What do you think of the solution? This would also solve your problems in Manjaro. And it is pacman GUI agnostic. |
@aarnt, thanks for sharing this trick. I had no idea pacman had a pre- and post- hooks system. Unfortunately, I'm not sure if this solves the issue. The biggest advantage of calling garuda-update is that it ships as part of Garuda Linux and is used by the developers to apply hotfixes before the system upgrade is run. Basically, anything you'd normally see in the Arch news releases that says stuff like: "do X before an upgrade or things will break" this script automates for you. I guess I could strip out the part that applies the hotfixes, and add it to a hook, but that seems fragile and prone to issues down the road since the mechanism for applying those hotfixes is likely considered a private/internal interface by the developers and might change without notice. Although, it might be worth doing, because if it is possible to use pacman hooks for this, I might be able to submit an upstream change to Garuda that uses pacman hooks instead of a custom script. Give me a few days and I'll get back to you. Thanks again for the advice. If you're curious, here is the documentation for garuda-update: https://wiki.garudalinux.org/en/garuda-update The source code is public too: https://gitlab.com/garuda-linux/packages/stable-pkgbuilds/garuda-update |
Greetings! First and foremost, thank you for all the hard work you've put into making this a great piece of software. I use it daily.
I had an idea for a feature request. My current workflow for updates is:
garuda-update
utility shipped with Garuda LinuxWhat I would like to be able to do instead:
garuda-update
)I have a similar command that I run on my Manjaro latptop that emulates some of the behavior of
garuda-update
on my desktop. Even if you don't have the bandwidth to work on this, thanks for taking a look and once again: I appreciate the great work.The text was updated successfully, but these errors were encountered: