Commit Graph

7 Commits

Author SHA1 Message Date
Vítor Galvão 3fdfc96072 switched remaining apps' link scheme 2013-06-01 00:51:31 +01:00
Paul Hinze a89494860a check for cask before unlinking during uninstall
this was exposed in #313 by @vitorgalvao in his attempt to update the
anvil cask; by adding a link to that cask, (which just so happens to be
the cask that we chose for our "already uninstalled message" test).

the fix is simply to move the "already uninstalled" check *before* we
start to unlink.
2013-05-12 19:55:30 -05:00
Paul Hinze e702a69b28 so long content_length
closes #131
2013-03-13 13:13:37 -05:00
phinze 0d1f831b79 Add checksum support to Casks.
`md5`, `sha1`, `sha256` all take a hexdigest string, e.g:
sha1 'f645e9da45a621415a07a7492c45923b1a1fd4d4'

`no_checksum` takes no argument, and indicates there is no checksum
for this cask. This is *not recommended*, and should only be used for
casks that have no versioned downloads.

`brew cask install` will complain if there is no sum provided (unless
`no_checksum` has been invoked), or if the sums do not match. It will
provide the computed checksum so the cask can be easily amended.

Adapted from @passcod's work in 82cc199ae6
2012-12-17 17:04:22 -07:00
phinze 95672686e3 fill in content_length for all casks 2012-11-18 23:13:43 -06:00
phinze 5ef4f62672 change anvil url/version to point to latest
per @elliottkember's request on
aff3777759, which was incidentally also a
good idea
2012-10-06 13:53:14 -05:00
phinze aff3777759 new cask: anvil 2012-10-06 11:57:23 -05:00