Created
April 15, 2018 05:27
-
-
Save igormp/1bb67e69be5fadcb04d3d08f6fbce3bb to your computer and use it in GitHub Desktop.
Runs rustup update after each pacman -Syu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Upgrade | |
Type = Package | |
Target = * | |
[Action] | |
Description = Updating rust components... | |
When = PostTransaction | |
Depends = rustup | |
# Be sure to replace $INSERTYOURUSERHERE the actual name of the current user whose toolchain should be updated | |
Exec = /bin/sh -c "RUSTUP_HOME='/home/$INSERTYOURUSERHERE/.rustup' /bin/rustup update" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment