[hook] name = "fontconfig-cache" description = "Updating fontconfig cache..." [when] phase = "post" operation = ["install", "upgrade", "remove"] paths = [ "etc/fonts/conf.d/*", "usr/share/fonts/*", "usr/share/fontconfig/conf.avail/*", "usr/share/fontconfig/conf.default/*", ] [exec] command = "/usr/bin/fc-cache -s"