0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.146.107.152


Current Path : /usr/sbin/
Upload File :
Current File : //usr/sbin/update-gsfontmap

#!/bin/sh
# update-gsfontmap
# Copyright 2010 Kenshi Muto <kmuto@debian.org>
# License: GPL

CIDFMAP=/var/lib/ghostscript/fonts/cidfmap
FONTMAP=/var/lib/ghostscript/fonts/Fontmap
CIDFDIR=/etc/ghostscript/cidfmap.d/
FONTMDIR=/etc/ghostscript/fontmap.d/

rm -f $CIDFMAP $FONTMAP
touch $CIDFMAP $FONTMAP

for i in $CIDFDIR/*.conf; do
    cat $i >> $CIDFMAP
done 2>/dev/null

for i in $FONTMDIR/*.conf; do
    cat $i >> $FONTMAP
done 2>/dev/null

exit 0