Skip to content
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

cleaner: recursively delete info dirs #11597

Merged
merged 1 commit into from Jun 25, 2021

Commits on Jun 25, 2021

  1. cleaner: recursively delete info dirs

    Arch-specific build tool formulae (Homebrew/homebrew-core#79874) install their info files in `#{info}/<arch>` to avoid conflicts with the main tool formulae.
    
    However, the info cleaner only removes `#{info}/dir`, so each tool's bottle includes `#{info}/<arch>/dir`, which causes install-time conflicts.
    
    This PR fixes that by deleting all `dir`s under `#{info}`.
    
    Before:
    ```
    ==> Cleaning
    [...]
    ==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
    ==> Finishing up
    ```
    
    After:
    ```
    ==> Cleaning
    [...]
    ==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
    rm /usr/local/Cellar/i686-elf-binutils/2.36.1_1/share/info/i686-elf/dir
    ==> Finishing up
    ```
    gromgit committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    0ec4357 View commit details
    Browse the repository at this point in the history