--- Makefile.orig 2017-02-20 13:54:28.000000000 +0000 +++ Makefile 2017-02-20 14:22:39.000000000 +0000 @@ -108,17 +108,15 @@ install-epglv: install-none: install-upstart: - cat contrib/epgd.conf | sed s:"":"$(BINDEST)":g | sed s:"":"$(PLGDEST)":g > /tmp/epgd.conf - install -C -D /tmp/epgd.conf $(UPSTARTDEST)/epgd.conf + cat contrib/epgd.conf | sed s:"":"$(BINDEST)":g | sed s:"":"$(PLGDEST)":g | install -C -D /dev/stdin $(UPSTARTDEST)/epgd.conf chmod a+r $(UPSTARTDEST)/epgd.conf - cat contrib/epghttpd.conf | sed s:"":"$(BINDEST)":g > /tmp/epghttpd.conf - install -C -D /tmp/epghttpd.conf $(UPSTARTDEST)/epghttpd.conf + cat contrib/epghttpd.conf | sed s:"":"$(BINDEST)":g | install -C -D /dev/stdin $(UPSTARTDEST)/epghttpd.conf chmod a+r $(UPSTARTDEST)/epghttpd.conf install-systemd: - cat contrib/epgd.service | sed s:"":"$(BINDEST)":g | sed s:"":"$(PLGDEST)":g > $(SYSTEMDDEST)/epgd.service + cat contrib/epgd.service | sed s:"":"$(BINDEST)":g | sed s:"":"$(PLGDEST)":g | install -C -D /dev/stdin $(SYSTEMDDEST)/epgd.service chmod a+r $(SYSTEMDDEST)/epgd.service - cat contrib/epghttpd.service | sed s:"":"$(BINDEST)":g > $(SYSTEMDDEST)/epghttpd.service + cat contrib/epghttpd.service | sed s:"":"$(BINDEST)":g | install -C -D /dev/stdin $(SYSTEMDDEST)/epghttpd.service chmod a+r $(SYSTEMDDEST)/epghttpd.service cppchk: