mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
installer: fix a small bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18644 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
afdbde2758
commit
53eb1f7518
@ -13,6 +13,7 @@ Function Ghostscript
|
||||
${else}
|
||||
# delete unnecessary files
|
||||
RMDir /r ${GhostscriptDir}
|
||||
StrCpy $DelGSDir "Yes" # used later in function ImageMagick
|
||||
${endif}
|
||||
|
||||
FunctionEnd
|
||||
@ -44,6 +45,10 @@ Function ImageMagick
|
||||
${else}
|
||||
# delete unnecessary files
|
||||
RMDir /r ${ImageMagickDir}
|
||||
# delete the "etc" folder when also the Ghostscript folder was deleted because it is then empty
|
||||
${if} $DelGSDir == "Yes"
|
||||
RMDir /r "$INSTDIR\etc"
|
||||
${endif}
|
||||
${endif}
|
||||
|
||||
FunctionEnd
|
||||
|
@ -41,6 +41,7 @@ Var AiksaurusPath
|
||||
Var AspellPath
|
||||
Var Acrobat
|
||||
Var PSVPath
|
||||
Var DelGSDir
|
||||
Var EditorPath
|
||||
Var ImageEditorPath
|
||||
Var BibTeXEditorPath
|
||||
|
@ -41,6 +41,7 @@ Var AiksaurusPath
|
||||
Var AspellPath
|
||||
Var Acrobat
|
||||
Var PSVPath
|
||||
Var DelGSDir
|
||||
Var EditorPath
|
||||
Var ImageEditorPath
|
||||
Var BibTeXEditorPath
|
||||
|
Loading…
Reference in New Issue
Block a user