mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
grep: Rename binary before shimming (#3717)
This commit is contained in:
parent
78abcfbc62
commit
bf28f3235f
@ -8,17 +8,14 @@
|
|||||||
"url": "https://packages.chocolatey.org/grep.3.7.nupkg",
|
"url": "https://packages.chocolatey.org/grep.3.7.nupkg",
|
||||||
"hash": "ec113135322239cd453a290f48fdb1ce6190cdcde162aa8e576d41ff8c606c94",
|
"hash": "ec113135322239cd453a290f48fdb1ce6190cdcde162aa8e576d41ff8c606c94",
|
||||||
"bin": [
|
"bin": [
|
||||||
|
"grep.exe",
|
||||||
[
|
[
|
||||||
"grep-3.7-x64.exe",
|
"grep.exe",
|
||||||
"grep"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"grep-3.7-x64.exe",
|
|
||||||
"egrep",
|
"egrep",
|
||||||
"-E"
|
"-E"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"grep-3.7-x64.exe",
|
"grep.exe",
|
||||||
"fgrep",
|
"fgrep",
|
||||||
"-F"
|
"-F"
|
||||||
]
|
]
|
||||||
@ -26,6 +23,7 @@
|
|||||||
"extract_dir": "tools\\install\\grep-windows-3.7"
|
"extract_dir": "tools\\install\\grep-windows-3.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pre_install": "Rename-Item \"$dir\\grep-$version-x64.exe\" grep.exe",
|
||||||
"post_install": "Remove-Item \"$dir\\tools\" -Recurse",
|
"post_install": "Remove-Item \"$dir\\tools\" -Recurse",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://community.chocolatey.org/packages/grep",
|
"url": "https://community.chocolatey.org/packages/grep",
|
||||||
@ -39,22 +37,6 @@
|
|||||||
"url": "https://community.chocolatey.org/packages/grep",
|
"url": "https://community.chocolatey.org/packages/grep",
|
||||||
"regex": "$sha256.*?$basename"
|
"regex": "$sha256.*?$basename"
|
||||||
},
|
},
|
||||||
"bin": [
|
|
||||||
[
|
|
||||||
"grep-$version-x64.exe",
|
|
||||||
"grep"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"grep-$version-x64.exe",
|
|
||||||
"egrep",
|
|
||||||
"-E"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"grep-$version-x64.exe",
|
|
||||||
"fgrep",
|
|
||||||
"-F"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"extract_dir": "tools\\install\\grep-windows-$version"
|
"extract_dir": "tools\\install\\grep-windows-$version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user