[Trigger] Type = File Operation = Install Operation = Upgrade Operation = Remove Target = usr/share/fonts/TTF/* [Action] Description = Updating TTF fonts... When = PostTransaction Exec = /bin/sh -c '/usr/bin/fc-cache -fs; /usr/bin/mkfontscale usr/share/fonts/TTF; /usr/bin/mkfontdir usr/share/fonts/TTF'