Remove kleopatra dirs in share on uninstall
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 17 Feb 2016 10:23:22 +0000 (11:23 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 17 Feb 2016 10:23:22 +0000 (11:23 +0100)
* src/uninst-kleopatra: Remove additional dirs.

src/uninst-kleopatra.nsi

index 8e2767d..d52824f 100644 (file)
@@ -165,7 +165,7 @@ Section "-un.kleopatra"
 #  Delete "$INSTDIR\share\doc\HTML\common\lgpl-translated.html"
 #  Delete "$INSTDIR\share\doc\HTML\common\kde-localised.css"
 
-  Delete "$INSTDIR\share\config\kdeglobals"
+  Delete "$INSTDIR\share\kdeglobals"
 #  Delete "$INSTDIR\share\apps\kwatchgnupg\pics\kwatchgnupg2.png"
 #  Delete "$INSTDIR\share\apps\kwatchgnupg\pics\kwatchgnupg.png"
 #  Delete "$INSTDIR\share\apps\kwatchgnupg\kwatchgnupgui.rc"
@@ -187,6 +187,9 @@ Section "-un.kleopatra"
 #  RMDir "$INSTDIR\share\doc\HTML\de"
 #  RMDir "$INSTDIR\share\doc\HTML"
 #  RMDir "$INSTDIR\share\doc"
+  RMDir "$INSTDIR\share\kleopatra\pics"
+  RMDir "$INSTDIR\share\kleopatra"
+  RMDir "$INSTDIR\share"
   RMDir "$INSTDIR"
 
 !endif