]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: sync homebrew formula
authorVincent Bernat <vincent@bernat.im>
Mon, 4 Sep 2017 05:03:39 +0000 (07:03 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 4 Sep 2017 05:03:39 +0000 (07:03 +0200)
osx/lldpd.rb

index 3bd86d73f380b15ef2cffbec7a56f06ab7dee220..eacaf4a29692d176a3710a40a87ecf79ae6f0dcf 100644 (file)
@@ -77,9 +77,7 @@ class Lldpd < Formula
 
   def plist
     additional_args = ""
-    if build.with? "snmp"
-      additional_args += "<string>-x</string>"
-    end
+    additional_args += "<string>-x</string>" if build.with? "snmp"
     <<-EOS.undent
     <?xml version="1.0" encoding="UTF-8"?>
     <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">