restund: fix configuration file

Closes #38128.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2019-03-21 11:07:26 +01:00
parent 26bd90725f
commit d47626e38b

View file

@ -15,6 +15,9 @@ class Restund < Formula
depends_on "libre"
def install
# Configuration file is hardcoded
inreplace "src/main.c", "/etc/restund.conf", "#{etc}/restund.conf"
libre = Formula["libre"]
system "make", "install", "PREFIX=#{prefix}",
"LIBRE_MK=#{libre.opt_share}/re/re.mk",