From 03d159262e7dca7109c676e65c4d36359fa75e48 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 20:19:27 -0500 Subject: geoipupdate: mkpath var directory in post_install --- Library/Formula/geoipupdate.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Formula/geoipupdate.rb b/Library/Formula/geoipupdate.rb index f6ee40e24..a7258b813 100644 --- a/Library/Formula/geoipupdate.rb +++ b/Library/Formula/geoipupdate.rb @@ -42,6 +42,10 @@ class Geoipupdate < Formula system "make", "install" end + def post_install + (var/"GeoIP").mkpath + end + test do system "#{bin}/geoipupdate", "-v" end -- cgit v1.2.3