[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"