From 447cfcca52c7bdb2550e158fe4633120c97567bc Mon Sep 17 00:00:00 2001 From: Gordon Freeman <4647973+gordlord@users.noreply.github.com> Date: Fri, 19 Mar 2021 13:47:12 +0100 Subject: [PATCH] nmap-portable: Fix pre-install step (#1949) --- bucket/nmap-portable.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/nmap-portable.json b/bucket/nmap-portable.json index 16b4b3ab6c..405b9bf869 100644 --- a/bucket/nmap-portable.json +++ b/bucket/nmap-portable.json @@ -17,7 +17,7 @@ "url": "https://nmap.org/dist/nmap-7.91-setup.exe#/dl.7z", "hash": "c4683097a2615252eeddab06c54872efb14c2ee2da8997b1c73844e582081a79", "pre_install": [ - "Get-ChildItem \"$dir\\`$PLUGINSDIR\\npcap-*-oem.exe\" | Select-Object -First 1 | Rename-Item -NewName 'npcap-oem.exe'", + "Get-ChildItem \"$dir\\`$PLUGINSDIR\\npcap-*.exe\" | Select-Object -First 1 | Rename-Item -NewName 'npcap-oem.exe'", "Move-Item \"$dir\\`$PLUGINSDIR\\npcap-oem.exe\" \"$dir\"", "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe\" -Recurse" ],