Skip to content

Commit 139fbca

Browse files
fix: add post install patch back
1 parent f88e9da commit 139fbca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bucket/rez2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"pre_install": [
1818
"if ($version -ge '3.0.0') { Remove-Item -Recurse -Force $dir; throw 'Please use \"rez\" package. This \"rez2\" is only for rez-2 versions.' }"
1919
],
20+
"post_install": "Remove-Item -Recurse -Force $dir/rez-$version",
2021
"pre_uninstall": "& del $scoopdir/shims/rez2.exe;& del $scoopdir/shims/rez2.shim",
2122
"autoupdate": {
2223
"architecture": {

0 commit comments

Comments
 (0)