Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

remove old libraries in case of update

lotusfa5b911082a9
diff --git a/build.nsi b/build.nsi
index 9a1f26c42..ef4975732 100755
--- a/build.nsi
+++ b/build.nsi
@@ -124,6 +124,7 @@ LangString finishPage 0 "Zeige die Windows Firewall Konfiguration fuer YaCy."
Section "YaCy"
SectionIn 1 RO
SetShellVarContext current ; use system variables (folders) for current user
+ RMDir /r "$INSTDIR\lib" ;remove old libraries in case of update
RMDir /r "$SMPROGRAMS\YaCy" ;clear old shortcuts
Delete "$QUICKLAUNCH\YaCy-Search.lnk" ;old
Delete "$DESKTOP\YaCy-Search.lnk" ;old