rcmdnk / homebrew-file

Brewfile manager for Homebrew
http://homebrew-file.readthedocs.io/
MIT License
356 stars 29 forks source link

Reinstall no longer supports --HEAD #127

Closed hurricanehrndz closed 1 year ago

hurricanehrndz commented 2 years ago

Running brew-file install results in an error because opts check

Error: invalid option: --HEAD
[ERROR]: Failed at command: /opt/homebrew/bin/brew reinstall neovim --HEAD
rcmdnk commented 2 years ago

Thanks for the report.

I think this happens when the Brewfile has different options for the packages already installed.

reinstall does not allow these options, then it should be done by uninstall and install commands.

v8.5.12 should fix this problem, please update brew-file and try it!

hurricanehrndz commented 2 years ago

Thank you, I will give it a shot.

On Mon, Aug 1, 2022 at 8:14 PM rcmdnk @.***> wrote:

Thanks for the report.

I think this happens when the Brewfile has different options for the packages already installed.

reinstall does not allow these options, then it should be done by uninstall and install commands.

v8.5.12 should fix this problem, please update brew-file and try it!

— Reply to this email directly, view it on GitHub https://github.com/rcmdnk/homebrew-file/issues/127#issuecomment-1201936162, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJBTO65LAAYA3YZBBOJMLVXCABBANCNFSM55B6YP3Q . You are receiving this because you authored the thread.Message ID: @.***>