Ignore formula on brew upgrade

后端 未结 4 1158
情话喂你
情话喂你 2021-01-30 03:18

I want to do a brew upgrade and tell homebrew do not upgrade the erlang formula since the latest one does not work on my system.

Is it possible

4条回答
  •  野性不改
    2021-01-30 03:32

    I finally found an answer: since commit 85eb73ce there is a pin subcommand available. So ignoring a formula on brew upgrade is as simple as pinning it via brew pin . To un-pin it, simply invoke brew unpin .

    It is worth noting that brew upgrade will still update the formula regardless of whether or not it is pinned.

提交回复
热议问题