1 2 3 4
pkg:setup inreplace "rinetd.c" do |s| s.gsub! "/etc/rinetd.conf", "#{etc}/rinetd.conf" s.gsub! "/var/run/rinetd.pid", "#{var}/rinetd.pid"