Skip to content

Commit

Permalink
msmtp: Create symlinks /usr/sbin/sendmail and /usr/lib/sendmail
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed May 24, 2018
1 parent 09f1588 commit 9aba7bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion msmtp.be0
Original file line number Diff line number Diff line change
@@ -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.)
Expand Down Expand Up @@ -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}"'

Expand Down

0 comments on commit 9aba7bd

Please sign in to comment.