mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
gh-137450: macOS installer shell path management improvements (#137451)
Separate the installer `Shell profile updater` postinstall script from the `Update Shell Profile.command` to enable more robust error handling.
This commit is contained in:
parent
247dab27fd
commit
781eb1a688
4 changed files with 192 additions and 85 deletions
|
|
@ -1747,7 +1747,7 @@ def main():
|
|||
fn = os.path.join(folder, "ReadMe.rtf")
|
||||
patchFile("resources/ReadMe.rtf", fn)
|
||||
fn = os.path.join(folder, "Update Shell Profile.command")
|
||||
patchScript("scripts/postflight.patch-profile", fn)
|
||||
patchScript("resources/update_shell_profile.command", fn)
|
||||
fn = os.path.join(folder, "Install Certificates.command")
|
||||
patchScript("resources/install_certificates.command", fn)
|
||||
os.chmod(folder, STAT_0o755)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue