```ruby
class OnyxSnowleopard < Cask
  url 'http://www.titanium.free.fr/download/106/OnyX.dmg'
  homepage 'http://www.titanium.free.fr/downloadonyx.php'
  version '2.4.0'
  sha1 '188c15090988b379dce9f0fafa7b686c6eff2ada147cde150b16e1ae01e4e9e4'
  link 'OnyX.app'
end
```

Update OnyX. Switch sha1 to sha256
user
```ruby
class OnyxSnowleopard < Cask
  url 'http://www.titanium.free.fr/download/106/OnyX.dmg'
  homepage 'http://www.titanium.free.fr/downloadonyx.php'
  version '2.4.0'
  sha256 '188c15090988b379dce9f0fafa7b686c6eff2ada147cde150b16e1ae01e4e9e4'
  link 'OnyX.app'
end
```
assistant