aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/geoipupdate.rb4
1 files changed, 4 insertions, 0 deletions
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