Skip to content

Commit

Permalink
Merge pull request #16461 from tomy0000000/new-cask-docs-patch
Browse files Browse the repository at this point in the history
Patch new cask documentation
  • Loading branch information
MikeMcQuaid committed Jan 10, 2024
2 parents 0f0befc + bb5d983 commit 6a19bcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/Adding-Software-to-Homebrew.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Give it a shot with:

```bash
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_INSTALL_FROM_API=1
brew install my-new-cask
```

Expand Down Expand Up @@ -386,8 +387,9 @@ cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask
git checkout master
```

If earlier you set the variable `HOMEBREW_NO_AUTO_UPDATE` then clean it up with:
If earlier you set the variable `HOMEBREW_NO_AUTO_UPDATE` and `HOMEBREW_NO_INSTALL_FROM_API` then clean it up with:

```bash
unset HOMEBREW_NO_AUTO_UPDATE
unset HOMEBREW_NO_INSTALL_FROM_API
```

0 comments on commit 6a19bcb

Please sign in to comment.