-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Msys2 #891
Msys2 #891
Conversation
Write-Host "Starting initialization via msys2_shell.cmd" | ||
Start-Process "$install_dir\msys2_shell.cmd" -Wait -ArgumentList '-c', exit | ||
|
||
if (!$pp.NoPath) { Install-ChocolateyPath $pp.InstallDir } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path will need to be removed in an uninstall script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
$pp = Get-PackageParameters | ||
if (!$pp.InstallDir) { $pp.InstallDir = "{0}\{1}" -f (Get-ToolsLocation), $dir_name } | ||
$install_dir = $pp.InstallDir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since allowing custom installation directory, an uninstall script is needed to remove the path on uninstall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original package was not removing the directory. I added a message as was there before as I also think its safer to not delete it. Perhaps there is no harm in removing it but its a minor issue anyway so I opted for the safe side.
Do we need to create a PR to remove from upstream repository? Or are we saying that this isn't needed since it isn't an automated repository i.e. AU/ketarin? |
I don't PR non automatic packages because there is no damage, links to package source on older versions work and maintenance is already a lot of work. |
Understood, just wanted to check. |
https://chocolatey.org/packages/msys2
Description
Embedded, made automatic package, and modernized. Documented relation with ruby installer.
How Has this Been Tested?
Locally
Types of changes
Checklist:
Original Location
/cc @userzimmermann @petemounce