From 9aba7bdbcc345cbc29961ee75f3c088efdfb4f6f Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 24 May 2018 13:55:44 +0200 Subject: [PATCH] msmtp: Create symlinks /usr/sbin/sendmail and /usr/lib/sendmail sendmail has moved around in its long history and so other software expects it in different places. cronie [1] uses /usr/sbin/sendmail and the historical place for sendmail was /usr/lib/sendmail. Support these via symlinks, too. --- msmtp.be0 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/msmtp.be0 b/msmtp.be0 index c47b968bc..f41678fb1 100755 --- a/msmtp.be0 +++ b/msmtp.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION msmtp-1.6.6-0 +# BEE_VERSION msmtp-1.6.6-1 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -58,6 +58,10 @@ SRCURL[0]="https://sourceforge.net/projects/msmtp/files/msmtp/${PKGVERSION}/msmt mee_install() { bee_install ln -s msmtp ${D}${BINDIR}/sendmail + mkdir -p ${D}${SBINDIR} + ln -s ${D}${BINDIR}/msmtp ${D}${SBINDIR}/sendmail + mkdir -p ${D}${LIBDIR} + ln -s ${D}${BINDIR}/msmtp ${D}${LIBDIR}/sendmail } ## by default this may be 'make install DESTDIR="${D}"'