SOURCES: ghostscript-wrapper (NEW) - wrapper around ghostscript to...
djurban
djurban at pld-linux.org
Fri Nov 4 14:37:46 CET 2005
Author: djurban Date: Fri Nov 4 13:37:46 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- wrapper around ghostscript to add more fonts to it! :)
---- Files affected:
SOURCES:
ghostscript-wrapper (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ghostscript-wrapper
diff -u /dev/null SOURCES/ghostscript-wrapper:1.1
--- /dev/null Fri Nov 4 14:37:46 2005
+++ SOURCES/ghostscript-wrapper Fri Nov 4 14:37:41 2005
@@ -0,0 +1,14 @@
+#!/bin/sh
+if [ -f /etc/ghostscript/fonts ]; then
+GS_LIB="$GS_LIB"
+for i in `cat /etc/ghostscript/fonts`;
+do
+ if [ -n "$GS_LIB" ]; then
+ GS_LIB="$GS_LIB:$i";
+ else
+ GS_LIB="$i"
+ fi
+done
+export $GS_LIB
+fi
+exec gs-unwrapped "$@"
================================================================
More information about the pld-cvs-commit
mailing list