Created
February 10, 2016 00:43
-
-
Save akhal3d96/d191c52b62f95a344747 to your computer and use it in GitHub Desktop.
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] | |
Type = File | |
Operation = Upgrade | |
Target = * | |
[Action] | |
When = PostTransaction | |
Exec = /etc/pacman.d/hooks/ruby-gems-update.sh |
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
#!/usr/bin/bash | |
cd /home/nemoload | |
su -c '/usr/bin/gem update' - nemoload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment