redshift: audit placement fix (#2818)
moved caveats method to before the plist block
This commit is contained in:
parent
13a061a99d
commit
c02cef102c
1 changed files with 8 additions and 8 deletions
|
@ -42,6 +42,14 @@ class Redshift < Formula
|
|||
pkgshare.install "redshift.conf.sample"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
A sample .conf file has been installed to #{opt_pkgshare}.
|
||||
|
||||
Please note redshift expects to read its configuration file from
|
||||
#{ENV["HOME"]}/.config
|
||||
EOS
|
||||
end
|
||||
|
||||
plist_options :manual => "redshift"
|
||||
|
||||
def plist; <<-EOS.undent
|
||||
|
@ -68,14 +76,6 @@ class Redshift < Formula
|
|||
EOS
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
A sample .conf file has been installed to #{opt_pkgshare}.
|
||||
|
||||
Please note redshift expects to read its configuration file from
|
||||
#{ENV["HOME"]}/.config
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/redshift", "-V"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue