diff --git a/Formula/logcheck.rb b/Formula/logcheck.rb index 8859758719..3e55d9d2f3 100644 --- a/Formula/logcheck.rb +++ b/Formula/logcheck.rb @@ -1,8 +1,8 @@ class Logcheck < Formula desc "Mail anomalies in the system logfiles to the administrator" homepage "https://logcheck.alioth.debian.org/" - url "https://mirrors.kernel.org/debian/pool/main/l/logcheck/logcheck_1.3.17.tar.xz" - mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/l/logcheck/logcheck_1.3.17.tar.xz" + url "https://mirrors.ocf.berkeley.edu/debian/pool/main/l/logcheck/logcheck_1.3.17.tar.xz" + mirror "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.17.tar.xz" sha256 "c2d3fc323e8c6555e91d956385dbfd0f67b55872ed0f6a7ad8ad2526a9faf03a" bottle do @@ -21,6 +21,7 @@ class Logcheck < Formula end test do - system "#{sbin}/logtail", "-f", "#{HOMEBREW_REPOSITORY}/README.md" + cp HOMEBREW_REPOSITORY/"README.md", testpath + system "#{sbin}/logtail", "-f", "README.md" end end