1 2 3 4
pkg:setup inreplace "do" do |s| s.gsub! 'exec >"$top/log"', 'exec | tee "$top/log"' s.gsub! /^shorthostname=`.*$/, "shorthostname=brew"