mirror of
https://github.com/nmap/nmap.git
synced 2026-06-24 18:18:08 +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:
parent
fbceb0061b
commit
6aa016fb64
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue