2 # /etc/profile.d/lily-gs.sh -- Check for GhostScript and GSView
5 gs550="/usr/windows/gstools/gs5.50"
6 gs650="/usr/windows/gs/gs6.50"
8 gsview26="/usr/windows/gstools/gsview"
9 gsview36="/usr/windows/Ghostgum/GSview"
11 # Maybe read registry, but that may be hairy?
13 # $ regtool get \\HKLM\\Software\\CLASSES\\psfile\\shell\\open\\command\\
14 # "C:\GSTOOLS\GSVIEW\gsview32.exe" "%1"
17 if [ -e "$gs550/gswin32.exe" ]; then
21 if [ -e "$gs650/gswin32.exe" ]; then
25 if [ -e "$gsview26/gsview32.exe" ]; then
26 PATH="$gsview26:$PATH"
29 if [ -e "$gsview36/gsview32.exe" ]; then
30 PATH="$gsview36:$PATH"