From fb4804a7fd349b32e57d17a003ab60f5f800615d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 21 Mar 2012 21:22:14 -0700 Subject: [PATCH] sntop: style nits --- Formula/sntop.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Formula/sntop.rb b/Formula/sntop.rb index 46122e2908..2551e36738 100644 --- a/Formula/sntop.rb +++ b/Formula/sntop.rb @@ -1,10 +1,10 @@ require 'formula' class Sntop < Formula - url 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/sntop-1.4.3.tar.gz' homepage 'http://sntop.sourceforge.net/' + url 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/sntop-1.4.3.tar.gz' md5 '0e99c64ea5a1bad6c1a32ac0dc2e9dd9' - version 'v1.4.3' + depends_on 'fping' def install @@ -16,13 +16,11 @@ class Sntop < Formula system "make install" end - def caveats - <<-EOS.undent + def caveats; <<-EOS.undent sntop uses fping by default. fping can only be run by root by default so either use sudo to run sntop or setuid root fping. Alternatively, run sntop using standard ping (sntop -p). - EOS end end