]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: move /var/run/lldpd creation in postinstall
authorVincent Bernat <vincent@bernat.im>
Tue, 29 Dec 2015 06:28:48 +0000 (07:28 +0100)
committerVincent Bernat <vincent@bernat.im>
Tue, 29 Dec 2015 06:28:48 +0000 (07:28 +0100)
This way, it works for binary packages too.

osx/lldpd.rb

index 9bb9441305954ba859f116053434fb60ef6604fb..a4847792fc85d330393bcda51255803f1456c9ac 100644 (file)
@@ -32,7 +32,9 @@ class Lldpd < Formula
     system "./configure", *args
     system "make"
     system "make", "install"
+  end
 
+  def postinstall
     (var/"run/lldpd").mkpath
   end