Skip to content

Instantly share code, notes, and snippets.

@Nereuxofficial
Created August 16, 2021 12:10
Show Gist options
  • Save Nereuxofficial/3375a8c02a2e13a51ff24206f8fd6f46 to your computer and use it in GitHub Desktop.
Save Nereuxofficial/3375a8c02a2e13a51ff24206f8fd6f46 to your computer and use it in GitHub Desktop.
Pacman hook for cargo-update
[Trigger]
Operation = Upgrade
Type = Path
Target = /home/[USER]/.cargo/bin/
[Action]
Description = Updates Cargo Binaries
When = PostTransaction
Exec = cargo install-update -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment