mirror of
https://github.com/ericchiang/pup
synced 2025-01-28 00:21:26 +00:00
Merge pull request #70 from serfdom/patch-2
Update deprecated hardware check
This commit is contained in:
commit
b058f916e3
@ -50,7 +50,7 @@ class Pup < Formula
|
||||
homepage 'https://github.com/ericchiang/pup'
|
||||
version '0.4.0'
|
||||
|
||||
if Hardware.is_64_bit?
|
||||
if Hardware::CPU.is_64_bit?
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v${VERSION}/${DARWIN_AMD64}'
|
||||
sha256 '$( sha256sum dist/${DARWIN_AMD64} | awk '{ print $1 }' | xargs printf )'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user