| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # update-gsfontmap |
| 3 | # Copyright 2010 Kenshi Muto <[email protected]> |
| 4 | # License: GPL |
| 5 | |
| 6 | CIDFMAP=/var/lib/ghostscript/fonts/cidfmapscip-shell filesystem . . `/var/lib/ghostscript/fonts/cidfmap`. |
| 7 | FONTMAP=/var/lib/ghostscript/fonts/Fontmapscip-shell filesystem . . `/var/lib/ghostscript/fonts/Fontmap`. |
| 8 | CIDFDIR=/etc/ghostscript/cidfmap.d/scip-shell filesystem . . `/etc/ghostscript/cidfmap.d/`. |
| 9 | FONTMDIR=/etc/ghostscript/fontmap.d/scip-shell filesystem . . `/etc/ghostscript/fontmap.d/`. |
| 10 | |
| 11 | catscip-shell system . . cat. "$CIDFDIR"/*.conf > "$CIDFMAP" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 12 | catscip-shell system . . cat. "$FONTMDIR"/*.conf > "$FONTMAP" 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 13 | |
| 14 | chmodscip-shell system . . chmod. 644 "$CIDFMAP" "$FONTMAP" |
| 15 | |
| 16 | exit 0 |