aboutsummaryrefslogtreecommitdiff
path: root/etc-pacman.d-hooks-rustup-update.hook
blob: 3c9d6563b8b333bc6c993c72a97fc1fa0a9d541b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Trigger]
Operation = Upgrade
Type = Package
Target = *

[Action]
Description = Updating rust components...
When = PostTransaction
Depends = rustup
# !!!! Be sure to manually replace $HOME the actual
# name of the user whose toolchain should be updated
Exec = /bin/sh -c "RUSTUP_HOME='/home/$HOME/.rustup' /bin/rustup update"