geoipupdate: move conditional into method

master
Jack Nagel 2014-02-18 17:49:02 -05:00
parent 4a409bf3b8
commit d34b0714d9
1 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ class Geoipupdate < Formula
# Fixes use of getline on pre-Lion; will be in next release
def patches
"https://github.com/maxmind/geoipupdate/commit/bdf11969f4c7c6b173466092287a2fdbd485b248.patch"
end unless build.head?
unless build.head?
"https://github.com/maxmind/geoipupdate/commit/bdf11969f4c7c6b173466092287a2fdbd485b248.patch"
end
end
def install
ENV.universal_binary if build.universal?