- run fonts-config only once when installing or upgrading more fonts in one transaction OBS-URL: https://build.opensuse.org/request/show/202118 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=17
12 lines
324 B
Bash
12 lines
324 B
Bash
adobecifontconfig=/usr/sbin/acroread-cidfont-config
|
|
ghostscriptcjkconfig=/usr/sbin/ghostscript-cjk-config
|
|
runflag=/var/run/fontpackages/reconfigure-fonts-cjk
|
|
if [ -e $runflag ]; then
|
|
if [ -x $adobecidfontconfig ]; then
|
|
$adobecidfontconfig
|
|
fi
|
|
if [ -x $ghostscriptcjkconfig ]; then
|
|
$ghostscriptcjkconfig
|
|
fi
|
|
fi
|