Skip to content

Commit

Permalink
Update uninstall.md (Homebrew#30589)
Browse files Browse the repository at this point in the history
* Update uninstall.md

* Update uninstall.md

* Update uninstall.md

* Update uninstall.md
  • Loading branch information
miccal authored Mar 5, 2017
1 parent 1a96c80 commit b06c185
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doc/cask_language_reference/stanzas/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,11 @@ It is important to note that, although `script:` in the above example does attem

`delete:` should only be used as a last resort, if other `uninstall` methods are insufficient.

Arguments to `uninstall delete:` should be static, single-quoted, absolute paths.
Arguments to `uninstall delete:` should use the following basic rules:

* Only single quotes should be used.
* Double-quotes should not be used except when invoking [`#{version}` interpolation](https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/version.md). `ENV['HOME']` and other variables
should not be interpolated in the value.
* Only single quotes should be used, except when invoking [`#{version}` interpolation](https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/version.md). `ENV['HOME']` and other variables should not be interpolated in the value.
* Basic tilde expansion is performed on paths, i.e., leading `~` is expanded to the home directory.
* Only absolute paths should be given.
* Paths must be absolute.
* Glob expansion is performed using the [standard set of characters](https://en.wikipedia.org/wiki/Glob_(programming)).

To remove user-specific files, use the `zap` stanza.
Expand Down

0 comments on commit b06c185

Please sign in to comment.