colorsvn: use correct config file path

The colorsvn binary was looking in "/etc" for a file that was correctly
installed in "/usr/local/etc".

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Dave Goodell 2012-03-05 18:38:07 -06:00 committed by Adam Vandenberg
parent 69d0764ebb
commit f86d110568

View file

@ -1,32 +1,33 @@
require 'formula'
class Colorsvn < Formula
url 'http://www.console-colors.de/downloads/colorsvn/colorsvn-0.3.2.tar.gz'
homepage 'http://colorsvn.tigris.org/'
url 'http://www.console-colors.de/downloads/colorsvn/colorsvn-0.3.2.tar.gz'
md5 'f6f59439f56c0ce664a0a832052cdc06'
def patches
DATA
end
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--sysconfdir=#{etc}"
inreplace "colorsvn.1", "/etc", etc
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--sysconfdir=#{etc}"
inreplace ["colorsvn.1", "colorsvn-original"], "/etc", etc
system "make"
system "make install"
end
def caveats
<<-END_CAVEATS
You probably want to set an alias to svn in your bash profile.
So source #{etc}/profile.d/colorsvn-env.sh or add the line
def caveats; <<-EOS.undent
You probably want to set an alias to svn in your bash profile.
So source #{etc}/profile.d/colorsvn-env.sh or add the line
alias svn=colorsvn
alias svn=colorsvn
to your bash profile.
to your bash profile.
So when you type "svn" you'll run "colorsvn".
END_CAVEATS
end
def patches
DATA
So when you type "svn" you'll run "colorsvn".
EOS
end
end