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 if [ ! -x $fcquery ]; then
20 # filter out anything outside main fontconfig path
21 grep /usr/share/fonts/ |
23 $fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null