mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 23:29:04 +00:00
In Nmap.nsi, remove the nselib-bin directory before installing but not when
uninstalling (it would have already been removed). I put in a comment explaining that nselib-bin used to be used but isn't any longer. Thanks to jah for the suggestion.
This commit is contained in:
@@ -144,6 +144,7 @@ Section "Nmap Core Files" SecCore
|
||||
|
||||
;Delete specific subfolders (NB: custom scripts in scripts folder will be lost)
|
||||
RMDir /r "$INSTDIR\nselib"
|
||||
; nselib-bin held NSE C modules up through version 4.68.
|
||||
RMDir /r "$INSTDIR\nselib-bin"
|
||||
RMDir /r "$INSTDIR\scripts"
|
||||
RMDir /r "$INSTDIR\zenmap"
|
||||
@@ -303,7 +304,6 @@ Section "Uninstall"
|
||||
Delete "$INSTDIR\winpcap-nmap*.exe"
|
||||
;Delete specific subfolders (NB: custom scripts in scripts folder will be lost)
|
||||
RMDir /r "$INSTDIR\nselib"
|
||||
RMDir /r "$INSTDIR\nselib-bin"
|
||||
RMDir /r "$INSTDIR\scripts"
|
||||
RMDir /r "$INSTDIR\zenmap"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user