Skip to content

Instantly share code, notes, and snippets.

@simonbru
Created February 12, 2016 02:15
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 simonbru/2373a968be3cf67b4ed6 to your computer and use it in GitHub Desktop.
Save simonbru/2373a968be3cf67b4ed6 to your computer and use it in GitHub Desktop.
ALPM (pacman) hook for localepurge
[Trigger]
Operation = Install
Operation = Upgrade
Type = File
Target = usr/share/doc/kde/HTML/*
Target = usr/share/gnome/help/*
Target = usr/share/locale/*
Target = usr/share/man/*
Target = usr/share/omf/*
[Action]
Description = Run localepurge
When = PostTransaction
Exec = /usr/bin/localepurge
Depends = localepurge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment