rss2email: sendmail from PATH instead of /usr/sbin

This commit is contained in:
Profpatsch 2018-02-15 13:36:24 +01:00
parent c4af2ca2cb
commit da71b8fd5f

View File

@ -16,6 +16,12 @@ buildPythonApplication rec {
outputs = [ "out" "man" "doc" ];
postPatch = ''
# sendmail executable is called from PATH instead of sbin by default
sed -e 's|/usr/sbin/sendmail|sendmail|' \
-i rss2email/config.py
'';
postInstall = ''
install -Dm 644 r2e.1 $man/share/man/man1/r2e.1
# an alias for better finding the manpage