From f30aabf98bf8602bb252a0c3ad7229aa13253fd5 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 6 Apr 2002 19:05:49 +0000 Subject: [PATCH] * Documentation/windows/gs-profile.sh: * Documentation/windows/gsview-profile.sh: Remove. --- Documentation/windows/gs-profile.sh | 22 ---------------------- Documentation/windows/gsview-profile.sh | 19 ------------------- 2 files changed, 41 deletions(-) delete mode 100644 Documentation/windows/gs-profile.sh delete mode 100644 Documentation/windows/gsview-profile.sh diff --git a/Documentation/windows/gs-profile.sh b/Documentation/windows/gs-profile.sh deleted file mode 100644 index 3e533b1f71..0000000000 --- a/Documentation/windows/gs-profile.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!@SHELL@ -# /etc/profile.d/gs-profile.sh -- Check for GhostScript - -gs550="/usr/windows/gstools/gs5.50" -gs650="/usr/windows/gs/gs6.50" - -# Maybe read registry, but that may be hairy? -# -# $ regtool get \\HKLM\\Software\\CLASSES\\psfile\\shell\\open\\command\\ -# "C:\GSTOOLS\GSVIEW\gsview32.exe" "%1" - -## we set GS_LIB although the registry keys have been set. - -if [ -e "$gs550/gswin32.exe" ]; then - PATH="$gs550:$PATH" - GS_LIB="$gs550/lib:"${GS_LIB:=""} -fi - -if [ -e "$gs650/bin/gswin32.exe" ]; then - PATH="$gs650/bin:$PATH" - GS_LIB="$gs650/lib:"${GS_LIB:=""} -fi diff --git a/Documentation/windows/gsview-profile.sh b/Documentation/windows/gsview-profile.sh deleted file mode 100644 index eb5aeaf8a6..0000000000 --- a/Documentation/windows/gsview-profile.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!@SHELL@ -# /etc/profile.d/gsview-profile.sh Check for GhostView - -gsview26="/usr/windows/gstools/gsview" -gsview36="/usr/windows/Ghostgum/GSview" - -# Maybe read registry, but that may be hairy? -# -# $ regtool get \\HKLM\\Software\\CLASSES\\psfile\\shell\\open\\command\\ -# "C:\GSTOOLS\GSVIEW\gsview32.exe" "%1" - -if [ -e "$gsview26/gsview32.exe" ]; then - PATH="$gsview26:$PATH" -fi - -if [ -e "$gsview36/gsview32.exe" ]; then - PATH="$gsview36:$PATH" -fi - -- 2.39.5