mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
15 lines
391 B
Bash
Executable file
15 lines
391 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# add plan 9 postscript fonts
|
|
GS_FONTPATH=$GS_FONTPATH:$PLAN9/postscript/font
|
|
export GS_FONTPATH
|
|
|
|
#
|
|
# gv has decided to rename all its -foo options to --foo.
|
|
#
|
|
if gv -v 2>/dev/null | grep Usage >/dev/null
|
|
then
|
|
gv --nosafer --swap --style=$PLAN9/lib/gv.style --ad=$PLAN9/lib/gv.resource "$@"
|
|
else
|
|
gv -nosafer -swap -style $PLAN9/lib/gv.style -ad $PLAN9/lib/gv.resource "$@"
|
|
fi
|