mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Uwe's GPL Ghostscript patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10082 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0732a8016a
commit
ad145f7a86
@ -516,8 +516,16 @@ FunctionEnd
|
||||
Function SearchGhostscript
|
||||
; Find which version of ghostscript, if any, is installed.
|
||||
EnumRegKey $1 HKLM "Software\AFPL Ghostscript" 0
|
||||
${if} $1 == ""
|
||||
EnumRegKey $1 HKLM "Software\GPL Ghostscript" 0
|
||||
StrCpy $2 "True"
|
||||
${endif}
|
||||
${if} $1 != ""
|
||||
${if} $2 == "True"
|
||||
StrCpy $0 "Software\GPL Ghostscript\$1"
|
||||
${else}
|
||||
StrCpy $0 "Software\AFPL Ghostscript\$1"
|
||||
${endif}
|
||||
${else}
|
||||
StrCpy $0 ""
|
||||
${endif}
|
||||
@ -536,8 +544,16 @@ Function DownloadGhostscript
|
||||
|
||||
; Find which version of ghostscript, if any, is installed.
|
||||
EnumRegKey $1 HKLM "Software\AFPL Ghostscript" 0
|
||||
${if} $1 == ""
|
||||
EnumRegKey $1 HKLM "Software\GPL Ghostscript" 0
|
||||
StrCpy $2 "True"
|
||||
${endif}
|
||||
${if} $1 != ""
|
||||
${if} $2 == "True"
|
||||
StrCpy $0 "Software\GPL Ghostscript\$1"
|
||||
${else}
|
||||
StrCpy $0 "Software\AFPL Ghostscript\$1"
|
||||
${endif}
|
||||
${else}
|
||||
StrCpy $0 ""
|
||||
${endif}
|
||||
|
Loading…
Reference in New Issue
Block a user