1
0
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:
Eric Chiang 2016-10-11 20:57:02 -07:00 committed by GitHub
commit b058f916e3

View File

@ -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