Skip to content

Instantly share code, notes, and snippets.

@Mnkai
Created November 12, 2017 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mnkai/de123a293958b00a82c4e3b29592fe65 to your computer and use it in GitHub Desktop.
Save Mnkai/de123a293958b00a82c4e3b29592fe65 to your computer and use it in GitHub Desktop.
Pacman compatible libalpm hook for updating mastodon bundle (*scripts not included*)
[Trigger]
Operation = Upgrade
Type = Package
Target = imagemagick
Target = ffmpeg
Target = protobuf
Target = nginx
Target = redis
Target = postgresql
Target = nodejs
Target = yarn
Target = ruby
[Action]
Description = Rebuilding ruby bundles for Mastodon...
When = PostTransaction
Exec = /bin/bash /var/lib/mastodon/updateBundle.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment