|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /proc/thread-self/root/sbin/ |
Upload File : |
#!/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