]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: ensure creation of var/run/lldpd
authorVincent Bernat <vincent@bernat.im>
Mon, 28 Dec 2015 19:32:13 +0000 (20:32 +0100)
committerVincent Bernat <vincent@bernat.im>
Mon, 28 Dec 2015 19:32:13 +0000 (20:32 +0100)
There is no guarantee that /usr/local/var/run already exists.

osx/lldpd.rb

index 1e3d415b1663aa0161105ce9a4f9a823b63e03bc..9bb9441305954ba859f116053434fb60ef6604fb 100644 (file)
@@ -32,6 +32,8 @@ class Lldpd < Formula
     system "./configure", *args
     system "make"
     system "make", "install"
+
+    (var/"run/lldpd").mkpath
   end
 
   def dscl(*args)