fontconfig cache regeneration trigger
Currently calls:
fc-cache -f
But -f is —force, meaning it ignores timestamps and assumes invalid cache. This makes it impossible to do “lbu include /var/cache/fontconfig/” to avoid re-generation of fontcache that can take 10s of seconds on ARM when booting in run-from-ram mode.
Additionally -s or —system-only flag is probably desirable because we don’t want to scan users’ fonts on package install / upgrade time.
(from redmine: issue id 3539, created on 2014-11-21, closed on 2014-12-09)
- Changesets:
- Revision 7b0c97d1 by Natanael Copa on 2014-11-24T12:06:00Z:
main/fontconfig: improve trigger script
- let fontconfig check the timestamp
- add --system-only since we dont want check user dirs
fixes #3539