diff options
| author | Jack Nagel | 2014-03-16 20:19:27 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-16 20:19:27 -0500 |
| commit | 03d159262e7dca7109c676e65c4d36359fa75e48 (patch) | |
| tree | 3fa82201de3dea6714c1dce8e43bc586e42fe3b5 /Library/Formula | |
| parent | c67a7450fa7b3f0dc278094b53930e34b8b9878e (diff) | |
| download | homebrew-03d159262e7dca7109c676e65c4d36359fa75e48.tar.bz2 | |
geoipupdate: mkpath var directory in post_install
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/geoipupdate.rb | 4 |
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 |
