Skip to content

Instantly share code, notes, and snippets.

@akhal3d96
Created February 10, 2016 00:43
Show Gist options
  • Save akhal3d96/d191c52b62f95a344747 to your computer and use it in GitHub Desktop.
Save akhal3d96/d191c52b62f95a344747 to your computer and use it in GitHub Desktop.
[Trigger]
Type = File
Operation = Upgrade
Target = *
[Action]
When = PostTransaction
Exec = /etc/pacman.d/hooks/ruby-gems-update.sh
#!/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