Skip to content

Commit

Permalink
be explicit: no fallthrough on onyx.rb
Browse files Browse the repository at this point in the history
each version is specific to an OS X release
  • Loading branch information
rolandwalker committed Dec 5, 2014
1 parent f058dd8 commit d1803c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Casks/onyx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
url 'http://www.titanium.free.fr/download/108/OnyX.dmg'
elsif MacOS.version == :mavericks
url 'http://www.titanium.free.fr/download/109/OnyX.dmg'
else
elsif MacOS.version == :yosemite
url 'http://www.titanium.free.fr/download/1010/OnyX.dmg'
else
# Unusual case: there is no fall-through. Each version of the software is
# specific to an OS X release, so define nothing when the release is unknown.
end
homepage 'http://www.titanium.free.fr/downloadonyx.php'
license :unknown
Expand Down

0 comments on commit d1803c4

Please sign in to comment.