summaryrefslogtreecommitdiffstats
path: root/rules/ssmtp.make
diff options
context:
space:
mode:
authorAlexander Dahl <post@lespocky.de>2012-09-24 15:21:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-09-30 13:11:02 +0200
commit172af0640044c8d009c247cf03d8b953a7886493 (patch)
tree7e2e565c5fc15e5f6d86c7fabade5bbc7557a7cd /rules/ssmtp.make
parente983de35b3012c8000ea0aaef7130b3a7b27374f (diff)
downloadptxdist-172af0640044c8d009c247cf03d8b953a7886493.tar.gz
ptxdist-172af0640044c8d009c247cf03d8b953a7886493.tar.xz
ssmtp: install optional symlinks from sendmail to ssmtp
Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ssmtp.make')
-rw-r--r--rules/ssmtp.make5
1 files changed, 5 insertions, 0 deletions
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)