From: Vincent Bernat Date: Tue, 29 Dec 2015 06:28:48 +0000 (+0100) Subject: osx: move /var/run/lldpd creation in postinstall X-Git-Tag: 0.8.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f787ebb1edaae374ca688812e8251647013117;p=thirdparty%2Flldpd.git osx: move /var/run/lldpd creation in postinstall This way, it works for binary packages too. --- diff --git a/osx/lldpd.rb b/osx/lldpd.rb index 9bb94413..a4847792 100644 --- a/osx/lldpd.rb +++ b/osx/lldpd.rb @@ -32,7 +32,9 @@ class Lldpd < Formula system "./configure", *args system "make" system "make", "install" + end + def postinstall (var/"run/lldpd").mkpath end