LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / lib / rpm / | Server Ip : 104.21.78.54 |
Filename | /lib/rpm/fontconfig.prov |
Size | 489 |
Permission | rwxr-xr-x |
Owner | |
Create time | 08-Dec-2022 22:35 |
Last modified | 24-Nov-2021 09:47 |
Last accessed | 24-Nov-2021 09:47 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/bash
#
# Script to install in:
# /usr/lib/rpm/redhat/find-provides.d
#
# Transform font files into RPM provides
# Requires fontconfig >= 2.6.90
#
# Author: Behdad Esfahbod <[email protected]>
# Based on other provides scripts from RPM
#
fcquery=/usr/bin/fc-query
if [ ! -x $fcquery ]; then
cat > /dev/null
exit 0
fi
# filter out anything outside main fontconfig path
grep /usr/share/fonts/ |
while read fn; do
$fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null
done
#
# Script to install in:
# /usr/lib/rpm/redhat/find-provides.d
#
# Transform font files into RPM provides
# Requires fontconfig >= 2.6.90
#
# Author: Behdad Esfahbod <[email protected]>
# Based on other provides scripts from RPM
#
fcquery=/usr/bin/fc-query
if [ ! -x $fcquery ]; then
cat > /dev/null
exit 0
fi
# filter out anything outside main fontconfig path
grep /usr/share/fonts/ |
while read fn; do
$fcquery --format '%{=pkgkit}' "${fn}" 2> /dev/null
done