diff options
Diffstat (limited to 'homebrew/lynis/.make.sh-auto')
-rw-r--r-- | homebrew/lynis/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/lynis/.make.sh-auto b/homebrew/lynis/.make.sh-auto new file mode 100644 index 000000000..3fa9a6ead --- /dev/null +++ b/homebrew/lynis/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +inreplace "lynis" do |s| +s.gsub! 'tINCLUDE_TARGETS="/usr/local/include/lynis ' \ +'/usr/local/lynis/include /usr/share/lynis/include ./include"', %Q(tINCLUDE_TARGETS="#{include}") +s.gsub! 'tPLUGIN_TARGETS="/usr/local/lynis/plugins ' \ +"/usr/local/share/lynis/plugins /usr/share/lynis/plugins " \ +'/etc/lynis/plugins ./plugins"', %Q(tPLUGIN_TARGETS="#{prefix}/plugins") +s.gsub! 'tDB_TARGETS="/usr/local/share/lynis/db /usr/local/lynis/db ' \ +'/usr/share/lynis/db ./db"', %Q(tDB_TARGETS="#{prefix}/db") |