Files
binary-repo/media/libs/fontconfig/fontconfig.sysconf
T
2023-03-09 06:48:00 +00:00

8 lines
240 B
Bash

#!/bin/sh
current=$(date +%s -r /usr/share/fonts)
last=$(cat /var/lib/ymp/sysconf/fontconfig/update.date)
if [ "$current" != "$last" ] ; then
fc-cache -f
date +%s -r /usr/share/fonts > /var/lib/ymp/sysconf/fontconfig/update.date
fi