3 # Script to install in:
4 # /usr/lib/rpm/redhat/find-provides.d
6 # Transform font files into RPM provides
7 # Requires fontconfig >= 2.6.90
9 # Author: Behdad Esfahbod <behdad@redhat.com>
10 # Based on other provides scripts from RPM
13 fcquery=/usr/bin/fc-query
15 [ -x $fcquery ] || exit 0
17 # filter out anything outside main fontconfig path
18 grep /usr/share/fonts/ |
20 $fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null