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:
Uwe Stöhr 2007-06-04 01:05:38 +00:00
parent afdbde2758
commit 53eb1f7518
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -41,6 +41,7 @@ Var AiksaurusPath
Var AspellPath
Var Acrobat
Var PSVPath
Var DelGSDir
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath

View File

@ -41,6 +41,7 @@ Var AiksaurusPath
Var AspellPath
Var Acrobat
Var PSVPath
Var DelGSDir
Var EditorPath
Var ImageEditorPath
Var BibTeXEditorPath