From 172af0640044c8d009c247cf03d8b953a7886493 Mon Sep 17 00:00:00 2001 From: Alexander Dahl Date: Mon, 24 Sep 2012 15:21:38 +0200 Subject: ssmtp: install optional symlinks from sendmail to ssmtp Signed-off-by: Alexander Dahl Signed-off-by: Michael Olbrich --- rules/ssmtp.make | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rules/ssmtp.make') diff --git a/rules/ssmtp.make b/rules/ssmtp.make index 36368b240..50753d083 100644 --- a/rules/ssmtp.make +++ b/rules/ssmtp.make @@ -73,6 +73,11 @@ $(STATEDIR)/ssmtp.targetinstall: @$(call install_copy, ssmtp, 0, 0, 0755, -, /sbin/ssmtp) +ifdef PTXCONF_SSMTP_SENDMAIL + @$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) + @$(call install_link, ssmtp, /usr/sbin/sendmail, /usr/lib/sendmail) +endif + @$(call install_finish, ssmtp) @$(call touch) -- cgit v1.2.3